dachshund/ffi

Types

pub type CookieOptions {
  CookieOptions(path: String, max_age: Int, same_site: String)
}

Constructors

  • CookieOptions(path: String, max_age: Int, same_site: String)

Values

pub fn cookie_options(
  path path: String,
  max_age max_age: Int,
  same_site same_site: String,
) -> CookieOptions
pub fn delete_cookie(name: String) -> Nil
pub fn delete_local_storage(key: String) -> Nil
pub fn get_cookie(name: String) -> Result(String, Nil)
pub fn get_document_lang() -> String
pub fn get_hostname() -> String
pub fn get_local_storage(key: String) -> Result(String, Nil)
pub fn get_pathname() -> String
pub fn get_preferred_languages() -> List(String)
pub fn get_search() -> String
pub fn replace_url(url: String) -> Nil
pub fn set_cookie(
  name: String,
  value: String,
  options: CookieOptions,
) -> Nil
pub fn set_local_storage(key: String, value: String) -> Nil
Search Document