[][src]Trait sputnik::response::SputnikBuilder

pub trait SputnikBuilder {
    fn set_cookie(&mut self, cookie: Cookie<'_>);
fn delete_cookie(&mut self, name: &str);
fn content_type(self, mime: Mime) -> Builder; }

Required methods

Adds a Set-Cookie header.

Adds a Set-Cookie header to delete a cookie.

fn content_type(self, mime: Mime) -> Builder[src]

Sets the Content-Type.

Loading content...

Implementations on Foreign Types

impl SputnikBuilder for Builder[src]

Loading content...

Implementors

Loading content...