Ev.Close
Close events.
type t
The type for CloseEvent objects.
CloseEvent
val was_clean : t -> bool
was_clean e is true if closure was clean.
was_clean e
true
val code : t -> int
code e is the close code sent by the server.
code e
val reason : t -> Jstr.t
reason e is the closure reason.
reason e