package sihl-web

  1. Overview
  2. Docs
Contains HTTP server implementations as Sihl service

Install

Dune Dependency

Authors

Maintainers

Sources

sihl-0.2.2.tbz
sha256=cfdbfc4b5b122d5be73480dc6050ea19f970c918d19ecfde1fe1f3b152154d28
sha512=2bcb39b1e7e98892d65ded542b143259156671106e7a30ad5211c22ec54b87047320c2cf6c115db1931a563ff8204e9f420cf3edfc1559d4c9ce53b0ef40e529

doc/sihl-web/Sihl_web/Form_parser/index.html

Module Sihl_web.Form_parserSource

Sourceval log_src : Logs.src
Sourcemodule Logs : Logs.LOG
Sourcetype body = (string * string list) list
Sourceval body_of_sexp : Sexplib0.Sexp.t -> body
Sourceval sexp_of_body : body -> Sexplib0.Sexp.t
Sourceexception Parsed_body_not_found
Sourceval key : body Opium.Context.key
Sourceval find_all : Opium.Request.t -> body
Sourceval find : String.t -> Opium.Request.t -> string option
Sourceval consume : Opium.Request.t -> String.t -> Opium.Request.t * string option

consume req key returns the value of the parsed body for the key key and a request with an updated context where the parsed value is missing the key key. The value is returned and removed from the context, it is consumed. *

Sourceval m : unit -> Rock.Middleware.t
OCaml

Innovation. Community. Security.