Readonlyhost: stringReadonlylocalUrl: stringThe local URL of the server
Readonlyport: numberThe port the server is bound to
Readonlyserver: ServerThe underlying HTTP/s server instance
Readonlyssl: booleanWhether this server is answering SSL requests
Starts the server
Serves static files from the specified path
Stops the server
Readonlytunnel: TunnelThe cloudflared tunnel instance
Readonlyurl: stringThe public URL of the server
Creates a WebSocket route in the same kind of format as .get/.post/etc
Applies the WebSocket middleware to the specified Router
ReadonlywsServer: WebSocket.ServerReturns the WebSocket.Server instance attached to the application
The hostname the server is bound to