Documentation
Use
Ws
Interfaces
Extra

Interface: Extra

Defined in: src/use/ws.ts:22

The extra that will be put in the Context.

Properties

request

readonly request: IncomingMessage

Defined in: src/use/ws.ts:31

The initial HTTP upgrade request before the actual socket and connection is established.


socket

readonly socket: WebSocket

Defined in: src/use/ws.ts:26

The actual socket connection between the server and the client.