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) Stdlib.result
val send_msgs : t -> Ssh.message list -> (t, string) Stdlib.result
val of_server : Server.t -> Ssh.message list -> (Cstruct.t -> unit) -> (unit -> Cstruct.t) -> (unit -> Mtime.t) -> (t, string) Stdlib.result
val rekey : t -> (t, string) Stdlib.result
val poll : t -> (t * Server.event, string) Stdlib.result
val send_channel_data : t -> Channel.Channel_map.key -> Cstruct_sexp.t -> (t, string) Stdlib.result
val disconnect : t -> (t, string) Stdlib.result
OCaml

Innovation. Community. Security.