package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Httpaf = Dream_httpaf_.Httpaf
module Headers = Httpaf.Headers
val create_request : nonce:string -> headers:Headers.t -> string -> Httpaf.Request.t
val sec_websocket_key_proof : sha1:(string -> string) -> string -> string
module CI : sig ... end
val passes_scrutiny : request_method:[> `GET ] -> Headers.t -> bool
val upgrade_headers : sha1:(string -> string) -> request_method:[> `GET ] -> Headers.t -> ((string * string) list, string) Stdlib.result
val respond_with_upgrade : ?headers:Headers.t -> sha1:(string -> string) -> Httpaf.Reqd.t -> (unit -> unit) -> (unit, string) Stdlib.result
OCaml

Innovation. Community. Security.