package ez_api

  1. Overview
  2. No Docs
Easy API library and tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.1.1.tar.gz
md5=65d5fef737c82120d579d10a1727b8e4
sha512=2ea5c072d5a4c264263264cfd485eadae2bd7f47949dbc9cb4cf93db89640d91542463ed8b9f4d6679f21bbd1efbfa6c224ff36f1807a8d8af9d0568cf8a4292

doc/src/ez_api.server_session/ezCookieServer.ml.html

Source file ezCookieServer.ml

1
2
3
4
5
6
7
8
9
10
11
12
# 1 "src/session/ezCookieServer.dummy.ml"
open EzAPIServerUtils

let get ( _req : Req.t ) =
  Format.eprintf "Dummy implementation of cookie server, to install:\n`opam install cohttp`@.";
  StringMap.empty

let set ?secure:_ ?http_only:_ (_req : Req.t) ~name ~value =
  Format.eprintf "Dummy implementation of cookie server, to install:\n`opam install cohttp`@.";
  (name, value)

let clear _req ~name = (name, "")