[][src]Trait envoy_sdk::host::http::client::HttpClientResponseOps

pub trait HttpClientResponseOps {
    fn http_call_response_headers(&self) -> Result<HeaderMap>;
fn http_call_response_header(
        &self,
        name: &str
    ) -> Result<Option<ByteString>>;
fn http_call_response_body(
        &self,
        start: usize,
        max_size: usize
    ) -> Result<ByteString>;
fn http_call_response_trailers(&self) -> Result<HeaderMap>;
fn http_call_response_trailer(
        &self,
        name: &str
    ) -> Result<Option<ByteString>>; }

An interface for accessing data of the HTTP response received by HttpClient.

Required methods

Loading content...

Implementations

impl dyn HttpClientResponseOps[src]

pub fn default() -> &'static dyn HttpClientResponseOps[src]

Returns the default implementation that interacts with Envoy through its ABI.

Implementors

Loading content...