Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 835 Bytes

use_fastify_websocket.Extra.md

File metadata and controls

32 lines (18 loc) · 835 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, unknown, FastifyLoggerInstance>

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