You can search for identifiers within the package.
in-package search v0.2.0
httpcats.core
Httpcats_core.Cookie
module Day : sig ... end
module Month : sig ... end
module Zone : sig ... end
module Date : sig ... end
val parse_cookie : string -> (string * string * [> `Host | `Secure ] option) option
type parameter =
| SameSite of [ `Lax | `Strict | `None ]
| Path of string
| Domain of string
| HttpOnly
| Secure
| Expires of Ptime.t
| MaxAge of int
type cookie = {
key : string;
value : string;
prefix : [ `Host | `Secure ] option;
parameters : parameter list;
}
val parse_rfc822_date : string -> Ptime.t option
val parse_same_site : string -> [> `Lax | `None | `Strict ] option
val parse_parameter : string -> parameter option
val parse : string -> cookie option