package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

OCaml

Innovation. Community. Security.