Module Ev.Close

Close events.

type t

The type for CloseEvent objects.

val was_clean : t -> bool

was_clean e is true if closure was clean.

val code : t -> int

code e is the close code sent by the server.

val reason : t -> Jstr.t

reason e is the closure reason.