package ez_api

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module EzCookieServerSource

Looks up request headers and returns map of cookies (cookie_name->cokie_value)

Sourceval clear : name:string -> unit -> string * string

Discards cookie in the 'Set-Cookie' header by setting its value to empty string and its max-age to 0

Sourceval set : ?secure:bool -> ?http_only:bool -> ?expiration:int64 -> name:string -> value:string -> unit -> string * string

Creates 'Set-Cokie' header with cookie whose name, value and some parameters are specified.

OCaml

Innovation. Community. Security.