Readonlyhost: stringReadonlylocalUrl: stringThe local URL of the server
Readonlyport: numberThe port the server is bound to
Readonlyprotected: ProtectedRouterAccess to easy-to-use protected routes that automatically insert middleware that checks with the authentication provider for permitted access.
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