Skip to main content

set_headers

Function set_headers 

Source
pub(crate) async fn set_headers<T>(
    session: &Session<T>,
    headers: &mut HeaderMap,
    ip_user_agent: &str,
    destroy: bool,
    storable: bool,
)
where T: DatabasePool + Clone + Debug + Sync + Send + 'static,
Expand description

Used to Set either the Header Values or the Cookie Values.