package brr

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

Module Ev.CloseSource

Close events.

Sourcetype t

The type for CloseEvent objects.

Sourceval was_clean : t -> bool

was_clean e is true if closure was clean.

Sourceval code : t -> int

code e is the close code sent by the server.

Sourceval reason : t -> Jstr.t

reason e is the closure reason.