package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

include Sigs.FLOW with type +'a fiber = 'a Lwt.t and type error = [ `Error of Flow.error | `Write_error of Flow.write_error ]
type +'a fiber = 'a Lwt.t
type t
type error = [
  1. | `Error of Flow.error
  2. | `Write_error of Flow.write_error
]
val recv : t -> Cstruct.t -> ([ `End_of_flow | `Input of int ], error) Stdlib.result fiber
val send : t -> Cstruct.t -> (int, error) Stdlib.result fiber
val pp_error : error Fmt.t
val make : Flow.flow -> t