package piaf

  1. Overview
  2. Docs
type t
val make : ?expiration:expiration -> ?path:string -> ?domain:string -> ?secure:bool -> ?http_only:bool -> ?same_site:same_site -> cookie -> t
val with_expiration : t -> expiration -> t
val with_path : t -> string -> t
val with_domain : t -> string -> t
val with_secure : t -> bool -> t
val with_http_only : t -> bool -> t
val with_same_site : t -> same_site -> t
val serialize : t -> cookie
val parse : Headers.t -> (string * t) list
val key : t -> string
val value : t -> string
OCaml

Innovation. Community. Security.