Skip to main content

CanopyResponse

Type Alias CanopyResponse 

Source
pub type CanopyResponse = Response<Bytes>;
Expand description

A response handed back to CanopyClient by a CanopyTransport, with its body buffered.

The status is interpreted by the client: a non-2xx becomes a CanopyHttpError carrying the body, and a success has its body parsed into the endpoint’s response type.

Aliased Type§

pub struct CanopyResponse { /* private fields */ }