package irky

  1. Overview
  2. Docs
The Irky IRC client library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

irky-0.1.tbz
sha256=54540ee1cd7584dd5f07cd7e2141835978dc9ef4d080c20acb40dd6cd027fde4
sha512=b49bb10e274bcc7d69e65954ebb8f927a09d9eb9a8ce1c4b1510c574d11f7209cf4837c68c8c3d84bf4d86bcb10a72e7b3c5c7234f3bda995bbc57921af92171

doc/irky/Irky/Io/index.html

Module Irky.IoSource

IO abstraction using iostream

Sourcetype input = Iostream.In.t
Sourcetype output = Iostream.Out.t
Sourceexception Timeout
Sourcetype t = {
  1. connect : host:string -> port:int -> input * output;
  2. sleep : float -> unit;
  3. time : unit -> float;
  4. with_timeout : 'a. float -> (unit -> 'a) -> 'a;
    (*

    with_timeout duration f runs f() with a timeout.

    • raises Timeout

      if the timeout expires

    *)
  5. secure : bool;
    (*

    true if connect establishes an encrypted (TLS) connection

    *)
}