websocket-lwt

Websocket library
IN THIS PACKAGE
type t
type source =
| TCP of Ipaddr.t * int
| Domain_socket of string
| Vchan of Conduit_lwt_unix.vchan_flow
val send : t -> Websocket.Frame.t -> unit Lwt.t
val send_multiple : t -> Websocket.Frame.t list -> unit Lwt.t
val recv : t -> Websocket.Frame.t Lwt.t
val http_request : t -> Cohttp.Request.t

http_request returns the http request that initialized this websocket connection

val source : t -> source

source t is the source address of t.