Skip to main content

Module http

Module http 

Source
Expand description

Compute HTTP interfaces.

Re-exports§

pub use request::Request;

Modules§

body
HTTP bodies.
header
HTTP header names, values, and constants for standardized header names.
purge
Purging operations for Compute.
request
HTTP requests.
serve
Support for reusable sandboxes.

Structs§

Body
An HTTP body that can be read from, written to, or appended to another body.
CandidateResponse
A response from a backend that is a candidate for caching.
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.
Method
The Request Method (VERB)
Response
An HTTP response, including body, headers, and status code.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Url
A parsed URL record.
Version
Represents a version of the HTTP spec.

Enums§

FramingHeadersMode
Determines how the framing headers (Content-Length/Transfer-Encoding) are set for a request or response.