The Request class as specified by WHATWG

Note: Can only be used when processing requests, not during build-time initialization.

See

Request on MDN

Hierarchy

Properties

backend: string
bodyUsed: boolean
headers: Headers

Returns a Headers object consisting of the headers associated with request.

method: string

Returns request's HTTP method, which is "GET" by default.

url: string

Returns the URL of request as a string.

Methods

  • Parameters

    • key: string

    Returns void

Generated using TypeDoc