Interface: Extra
use/fastify-websocket.Extra
The extra that will be put in the Context
.
Deprecated
Use @fastify/websocket
instead.
Properties
connection
• Readonly
connection: SocketStream
The underlying socket connection between the server and the client.
The WebSocket socket is located under the socket
parameter.
Defined in
src/use/fastify-websocket.ts:19
request
• Readonly
request: FastifyRequest
<RouteGenericInterface
, RawServerDefault
, IncomingMessage
, FastifySchema
, FastifyTypeProviderDefault
, unknown
, FastifyBaseLogger
, ResolveFastifyRequestType
<FastifyTypeProviderDefault
, FastifySchema
, RouteGenericInterface
>>
The initial HTTP upgrade request before the actual socket and connection is established.