package httpun-ws

  1. Overview
  2. Docs
val create_request : nonce:string -> headers:Httpun.Headers.t -> string -> Httpun.Request.t
val upgrade_headers : sha1:(string -> string) -> request_method:Httpun.Method.t -> Httpun.Headers.t -> ((string * string) list, string) Stdlib.result
val respond_with_upgrade : ?headers:Httpun.Headers.t -> sha1:(string -> string) -> Httpun.Reqd.t -> (unit -> unit) -> (unit, string) Stdlib.result
OCaml

Innovation. Community. Security.