Module Awa.ClientSource

Sourcetype t
Sourceval make : ?authenticator:Keys.authenticator -> user:string -> [ `Pubkey of Hostkey.priv | `Password of string ] -> t * string list
Sourcetype event = [
  1. | `Established of int32
  2. | `Channel_data of int32 * string
  3. | `Channel_stderr of int32 * string
  4. | `Channel_eof of int32
  5. | `Channel_exit_status of int32 * int32
  6. | `Disconnected
]
Sourceval pp_event : Format.formatter -> event -> unit
Sourceval incoming : t -> Mtime.t -> string -> (t * string list * event list, string) result
Sourceval outgoing_request : t -> ?id:int32 -> ?want_reply:bool -> Ssh.channel_request -> (t * string, string) result
Sourceval outgoing_data : t -> ?id:int32 -> string -> (t * string list, string) result
Sourceval eof : ?id:int32 -> t -> t * string list
Sourceval close : ?id:int32 -> t -> t * string option