WebSocketUpgrade$Typings extension

on

Properties

response Response

Available on WebSocketUpgrade, provided by the WebSocketUpgrade$Typings extension

The response object that represents the HTTP response to the client, which should be used to the {@linkcode RequestEvent} .respondWith() for the upgrade to be successful.
getter/setter pair
socket WebSocket

Available on WebSocketUpgrade, provided by the WebSocketUpgrade$Typings extension

The {@linkcode WebSocket} interface to communicate to the client via a web socket.
getter/setter pair