Documentation
Interfaces
use/uWebSockets.Extra

Interface: Extra

use/uWebSockets.Extra

The extra that will be put in the Context.

Hierarchy

Properties

persistedRequest

Readonly persistedRequest: PersistedRequest

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

uWS’s request is stack allocated and cannot be accessed from outside of the internal upgrade; therefore, the persisted request holds the relevant values extracted from the uWS’s request while it is accessible.

Inherited from

UpgradeData.persistedRequest

Defined in

src/use/uWebSockets.ts:35


socket

Readonly socket: WebSocket<unknown> & UpgradeData

The actual socket connection between the server and the client with the upgrade data.

Defined in

src/use/uWebSockets.ts:17