VideoProxyServer class

A local proxy server that streams video content while caching it simultaneously.

Constructors

VideoProxyServer.new(BaseCacheManager cacheManager)
Factory constructor that returns the singleton instance
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isRunning bool
Gets whether the server is currently running
no setter
port int
Gets the port the server is running on
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerUrl(String url, {Map<String, String>? headers}) Future<String>
Registers a URL with the proxy server and returns a local URL to access it
start({int preferredPort = 0}) Future<void>
Starts the proxy server on an available port
stop() Future<void>
Stops the proxy server
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited