OptionalbufferedIf 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.
OptionalhttpOptions used to create the HTTP server
OptionalhttpsOptions used to create the HTTPs server. options.http will be used if
unspecified.
OptionalmaxHow 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.
Optionalsignal
An object that contains an AbortSignal as the optional
signalproperty.Example