package cohttp

  1. Overview
  2. Docs
type t
val make : ?expiry:expiration -> ?path:string -> ?domain:string -> ?secure:bool -> cookie -> t
val serialize : ?version:[ `HTTP_1_0 | `HTTP_1_1 ] -> t -> string * string
val extract : Header.t -> (string * t) list
val binding : t -> cookie
val value : t -> string
val expiration : t -> expiration
val domain : t -> string option
val path : t -> string option
val is_secure : t -> bool
OCaml

Innovation. Community. Security.