package awa

  1. Overview
  2. Docs
type t = {
  1. server : Server.t;
  2. input_buffer : Cstruct.t;
  3. write_cb : Cstruct.t -> unit;
  4. read_cb : unit -> Cstruct.t;
  5. time_cb : unit -> Mtime.t;
}
val send_msg : t -> Ssh.message -> (t, string) Rresult.result
val send_msgs : t -> Ssh.message list -> (t, string) Rresult.result
val of_server : Server.t -> Ssh.message list -> (Cstruct.t -> unit) -> (unit -> Cstruct.t) -> (unit -> Mtime.t) -> (t, string) Rresult.result
val rekey : t -> (t, string) Rresult.result
val poll : t -> (t * Server.event, string) Rresult.result
val send_channel_data : t -> Channel.Channel_map.key -> Cstruct_sexp.t -> (t, string) Rresult.result
val disconnect : t -> (t, string) Rresult.result
OCaml

Innovation. Community. Security.