Optional
closeOptional
filterUse a ConnectionGater instead
Optional
httpOptions used to create the HTTP server
Optional
httpsOptions used to create the HTTPs server. options.http
will be used if
unspecified.
Optional
inboundInbound connections must complete their upgrade within this many ms
5000
Optional
signalOptional
websocketOptions used to create WebSockets
An object that contains an AbortSignal as the optional
signal
property.Example