Sourceval read : flow -> bytes -> off:int -> len:int -> int Sourceval write : flow -> string -> off:int -> len:int -> unit Sourcetype db = | Database : 'db * (module AUTH with type t = 'db) -> db
Sourceand request = | Pty_req of {width : int;height : int;max_width : int;max_height : int;term : string;
}| Pty_set of {width : int;height : int;max_width : int;max_height : int;
}| Set_env of {key : string;value : string;
}| Channel of {cmd : string;ic : unit -> string option;oc : string -> unit;ec : string -> unit;
}| Shell of {ic : unit -> string option;oc : string -> unit;ec : string -> unit;
}