Documentation
Interfaces
use/uWebSockets.UpgradeData

Interface: UpgradeData

use/uWebSockets.UpgradeData

Data acquired during the HTTP upgrade callback from uWS.

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.

Defined in

src/use/uWebSockets.ts:35 (opens in a new tab)