This commit is contained in:
Simon Cruanes 2024-02-05 10:44:34 -05:00
parent d9a2f6e85f
commit ad3f036893
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -5,6 +5,7 @@ type handler = Unix.sockaddr -> IO.Input.t -> IO.Output.t -> unit
(** Websocket handler *) (** Websocket handler *)
val upgrade : IO.Input.t -> IO.Output.t -> IO.Input.t * IO.Output.t val upgrade : IO.Input.t -> IO.Output.t -> IO.Input.t * IO.Output.t
(** Upgrade a byte stream to the websocket framing protocol. *)
val add_route_handler : val add_route_handler :
?accept:(unit Request.t -> (unit, int * string) result) -> ?accept:(unit Request.t -> (unit, int * string) result) ->