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

pub trait ResponseHeadersOps: ResponseFlowOps {
    fn get_response_headers(&self) -> Result<Vec<(String, String)>>;
fn set_response_headers(&self, headers: Vec<(&str, &str)>) -> Result<()>;
fn get_response_header(&self, name: &str) -> Result<Option<String>>;
fn set_response_header(&self, name: &str, value: Option<&str>) -> Result<()>;
fn add_response_header(&self, name: &str, value: &str) -> Result<()>; }

Required methods

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

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

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

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

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

Loading content...

Implementors

impl ResponseHeadersOps for Host[src]

Loading content...