Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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