[][src]Module fastly::request

Structs

FastlyRequestMetadata

Additional Fastly-specific metadata for requests.

PendingRequest

A handle to a pending asynchronous request returned by RequestExt::send_async().

PendingRequestHandle

A handle to a pending asynchronous request returned by RequestHandle::send_async().

RequestHandle

Enums

CacheOverride

Optional override for response caching behavior.

PollHandleResult

The result of a call to PendingRequestHandle::poll().

PollResult

The result of a call to PendingRequest::poll().

Traits

RequestBuilderExt

Fastly-specific extensions to http::request::Builder.

RequestExt

Functions

downstream_original_header_names
downstream_original_header_names_with_len

Returns a request's header names list as originally received, in the original order they were received in.

downstream_request

Get the downstream request.

downstream_request_and_body_handles

Get handles to the downstream request parts and body at the same time.

downstream_tls_cipher_openssl_name

Get the cipher suite used to secure the downstream client TLS connection.

downstream_tls_client_hello

Get the raw bytes sent by the client in the ClientHello message

downstream_tls_protocol

Get the TLS protocol version used to secure the downstream client TLS connection.

select

Given a collection of PendingRequests, block until the result of one of the requests is ready.

select_handles

Given a collection of PendingRequestHandles, block until the result of one of the handles is ready.