type io_addr = [
|
`Plaintext of Ipaddr.t * int
|
`Tls of Tls.Config.client * Ipaddr.t * int
]
val rng : int -> Cstruct.t
val clock : unit -> int64
val send_recv :
context ->
Cstruct.t ->
(Cstruct.t, [> `Msg of string ]) Stdlib.result io
val bind : 'a io -> ('a -> 'b io) -> 'b io