Clone/Fecth/Push protocol
#
result
| : ok_or_error | ; | |||
#
commands
| : (Reference.t * ok_or_error) list | ; |
The result of a push operation.
Channel abstraction.
Type for input channels.
Type for output channels.
Connect to a remote server, get the corresponding input and
output channels and apply a function on them. Close the channel
once the function returns. The init
corresponds to an optional
first message sent on the connection to set-it up.