Optional
bufferedIf the bufferedAmount
property of a WebSocket exceeds maxBufferedAmount
, poll the field every
this number of ms to see if the socket can accept new data.
Optional
httpOptions used to create the HTTP server
Optional
httpsOptions used to create the HTTPs server. options.http
will be used if
unspecified.
Optional
maxHow large the outgoing bufferedAmount property of incoming and outgoing websockets is allowed to get in bytes.
If this limit is exceeded, backpressure will be applied to the writer.
Optional
signal
An object that contains an AbortSignal as the optional
signal
property.Example