[][src]Trait envoy_sdk::extension::filter::http::ResponseTrailersOps

pub trait ResponseTrailersOps: ResponseFlowOps {
    fn get_response_trailers(&self) -> Result<Vec<(String, String)>>;
fn set_response_trailers(&self, headers: Vec<(&str, &str)>) -> Result<()>;
fn get_response_trailer(&self, name: &str) -> Result<Option<String>>;
fn set_response_trailer(
        &self,
        name: &str,
        value: Option<&str>
    ) -> Result<()>;
fn add_response_trailer(&self, name: &str, value: &str) -> Result<()>; }

Required methods

fn get_response_trailers(&self) -> Result<Vec<(String, String)>>

fn set_response_trailers(&self, headers: Vec<(&str, &str)>) -> Result<()>

fn get_response_trailer(&self, name: &str) -> Result<Option<String>>

fn set_response_trailer(&self, name: &str, value: Option<&str>) -> Result<()>

fn add_response_trailer(&self, name: &str, value: &str) -> Result<()>

Loading content...

Implementors

impl ResponseTrailersOps for Host[src]

Loading content...