Interface: Extra
use/uWebSockets.Extra
The extra that will be put in the Context
.
Hierarchy
-
↳
Extra
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
Defined in
socket
• Readonly
socket: WebSocket
<unknown
> & UpgradeData
The actual socket connection between the server and the client with the upgrade data.