Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 986 Bytes

use__fastify_websocket.Extra.md

File metadata and controls

32 lines (18 loc) · 986 Bytes

graphql-ws / use/@fastify/websocket / Extra

Interface: Extra

use/@fastify/websocket.Extra

The extra that will be put in the Context.

Table of contents

Properties

Properties

connection

Readonly connection: SocketStream

The underlying socket connection between the server and the client. The WebSocket socket is located under the socket parameter.


request

Readonly request: FastifyRequest<RouteGenericInterface, Server, IncomingMessage, FastifySchema, FastifyTypeProviderDefault, unknown, FastifyBaseLogger, ResolveFastifyRequestType<FastifyTypeProviderDefault, FastifySchema, RouteGenericInterface>>

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