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
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