Interface: PersistedRequest
use/uWebSockets.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 relevant values extracted from the uWS’s request while it is accessible.
Properties
headers
• headers: IncomingHttpHeaders
Defined in
method
• method: string
Defined in
query
• query: string
The raw query string (after the ?
sign) or empty string.
Defined in
url
• url: string