Skip to main content

CanopyRequest

Type Alias CanopyRequest 

Source
pub type CanopyRequest = Request<Bytes>;
Expand description

A request built by CanopyClient, ready for a CanopyTransport to send.

The URI is the endpoint path in origin form (path plus query, no scheme or authority), e.g. /backup-target — resolving it against a base URL is the transport’s job. The body is already serialised and gzipped when there is one (with content-type and content-encoding set to match) and empty when there isn’t.

Aliased Type§

pub struct CanopyRequest { /* private fields */ }