UpgradeWebSocketOptions$Typings extension
Properties
- idleTimeout ↔ num?
-
Available on UpgradeWebSocketOptions, provided by the UpgradeWebSocketOptions$Typings extension
If the client does not respond to this frame with apong
within the timeout specified, the connection is deemed unhealthy and is closed. Theclose
anderror
event will be emitted.getter/setter pair - protocol ↔ String?
-
Available on UpgradeWebSocketOptions, provided by the UpgradeWebSocketOptions$Typings extension
Sets the.protocol
property on the client side web socket to the value provided here, which should be one of the strings specified in theprotocols
parameter when requesting the web socket. This is intended for clients and servers to specify sub-protocols to use to communicate to each other.getter/setter pair