Module request

Module request 

Source

Structs§

PreloadEntry
https://html.spec.whatwg.org/multipage/#preload-entry
PreloadId
PreloadKey
https://html.spec.whatwg.org/multipage/#preload-key
Request
A Request as defined by the Fetch spec.
RequestBody
A process local view into https://fetch.spec.whatwg.org/#bodies. After IPC serialization, each process gets its own shared sender state for the same body stream. the net side fetch entry points own clearing their local copy once that fetch invocation reaches its terminal state. Redirect replay can later deserialize a fresh “RequestBody”, so lower level fetch steps cannot always clean up immediately.
RequestBuilder
RequestClient
https://fetch.spec.whatwg.org/#concept-request-client
RequestId
An id to differentiate one network request from another.
TraversableNavigable
https://html.spec.whatwg.org/multipage/#traversable-navigable

Enums§

BodyChunkRequest
Messages used to implement https://fetch.spec.whatwg.org/#concept-request-transmit-body which are sent from net to script (with the exception of Done, which is sent from script to script).
BodyChunkResponse
Messages used to implement https://fetch.spec.whatwg.org/#concept-request-transmit-body which are sent from script to net.
BodySource
https://fetch.spec.whatwg.org/#concept-body-source
CacheMode
Cache mode
CorsSettings
CORS settings attribute
CredentialsMode
Request credentials mode
Destination
A request destination
Initiator
An initiator
InsecureRequestsPolicy
Origin
A request origin
ParserMetadata
Parser Metadata
RedirectMode
Redirect mode
Referrer
A referer
RequestMode
A request mode
ResponseTainting
Response tainting
ServiceWorkersMode
Service-workers mode
SystemVisibilityState
https://html.spec.whatwg.org/multipage/#system-visibility-state
TraversableForUserPrompts
https://fetch.spec.whatwg.org/#concept-request-window

Traits§

RequestBodySize 🔒
RequestHeadersSize

Functions§

convert_header_names_to_sorted_lowercase_set
https://fetch.spec.whatwg.org/#ref-for-convert-header-names-to-a-sorted-lowercase-set
create_request_body_with_content
get_cors_unsafe_header_names
https://fetch.spec.whatwg.org/#cors-unsafe-request-header-names
is_cors_non_wildcard_request_header_name
https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
is_cors_safelisted_language 🔒
is_cors_safelisted_method
https://fetch.spec.whatwg.org/#cors-safelisted-method
is_cors_safelisted_request_accept 🔒
is_cors_safelisted_request_content_type
is_cors_safelisted_request_header
is_cors_safelisted_request_range
is_cors_unsafe_request_header_byte 🔒
validate_range_header 🔒

Type Aliases§

PreloadedResources