Trait decrypt_cookies::browser::cookies::CookiesInfo

source ·
pub trait CookiesInfo {
    // Required methods
    fn name(&self) -> &str;
    fn value(&self) -> &str;
    fn path(&self) -> &str;
    fn domain(&self) -> &str;
    fn expiry(&self) -> Option<String>;
    fn is_secure(&self) -> bool;
    fn is_http_only(&self) -> bool;
    fn same_site(&self) -> SameSite;

    // Provided methods
    fn get_set_cookie_header(&self) -> String { ... }
    fn get_url(&self) -> String { ... }
}

Required Methods§

source

fn name(&self) -> &str

source

fn value(&self) -> &str

source

fn path(&self) -> &str

source

fn domain(&self) -> &str

source

fn expiry(&self) -> Option<String>

source

fn is_secure(&self) -> bool

source

fn is_http_only(&self) -> bool

source

fn same_site(&self) -> SameSite

Provided Methods§

Implementors§