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) result
val respond_with_upgrade : ?headers:Httpun.Headers.t -> sha1:(string -> string) -> Httpun.Reqd.t -> (unit -> unit) -> (unit, string) result
OCaml

Innovation. Community. Security.