package session

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

Redis backend.

include Session.S.Future with type +'a io = 'a Lwt.t and type key = string and type value = string and type period = int64
type 'a io = 'a Lwt.t
type t
type key = string
type value = string
type period = int64
val default_period : t -> period
val generate : ?expiry:period -> ?value:value -> t -> key io
val clear : t -> key -> unit io
val get : t -> key -> (value * period, Session.S.error) Result.result io
val set : ?expiry:period -> t -> key -> value -> unit io
val of_connection_pool : Redis_lwt.Client.connection Lwt_pool.t -> t
OCaml

Innovation. Community. Security.