Http Server
Class for NanoHTTPD server.
The app starts and stops the server and the extension may not all the .start() and .stop(). The server will be started if the videoUrl or any of the Track urls matches PLACEHOLDER_URL. The url getter will return the scheme, domain, and port for the local server.
Since multiple servers may be running at the same time, even for the same source, it is recommended for the server not to share any state with the main extension class, nor is it recommended to use it for any functionality in the source other than fetching the video.
Since
extensions-lib 17
Properties
Functions
Link copied to clipboard
Link copied to clipboard
protected open fun createClientHandler(finalAccept: Socket?, inputStream: InputStream?): NanoHTTPD.ClientHandler?
Link copied to clipboard
Link copied to clipboard
open fun makeSecure(sslServerSocketFactory: SSLServerSocketFactory?, sslProtocols: Array<out String?>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard