package ezcurl

  1. Overview
  2. Docs

Module Ezcurl_core.CookiesSource

Cookie handling.

  • since 0.3
Sourceval flush_cookiejar : t -> unit

If cookiejar_file was provided in make, this flushes the current set of cookies to the provided file.

  • since 0.3
Sourceval reload_cookiejar : t -> unit

If cookiejar_file was provided in make, this reloads cookies from the provided file.

  • since 0.3
Sourceval get_cookies : t -> string list

Get cookie list (in netscape format)

Sourceval set_cookies : t -> string list -> unit

Set cookie list (in netscape format)

Sourceval transfer : t -> t -> unit

transfer c1 c2 copies cookies in c1 into c2