Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type request = Cstruct.t
A complete request
type response = Cstruct.t
A complete response
type address = Config.Address.t
The address of the remote endpoint
A callback called per message, which permits recording and analysis. If an address is unknown (e.g. it is selected by the kernel when routing the packets) then the corresponding argument will be omitted
val connect : ?message_cb:message_cb -> address -> t Error.t
Connect to the remote server
Send a request and await a response. Multiple threads may call this in parallel and it is the implementation's job to associate the right response with the original request.