• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • git-mirage

  • Documentation
  • git-mirage lib
  • Git_mirage .Net Module
package git-mirage
  • git-mirage
    • Git_mirage
      • Net
      • Sync
        • Endpoint
        • G
          • Deflate
          • Hash
            • Map
            • Set
          • Inflate
          • Pack
          • Ref
          • Reference
            • A
            • D
            • E
            • M
            • Map
            • P
            • Set
          • Value
            • A
            • D
            • E
            • M
            • MakeMeta
              • Meta
                • Option
            • Map
            • Set
        • Http
          • Client
          • Endpoint
          • Web
            • HTTP
              • Headers
            • Request
            • Response
        • Tcp
          • Endpoint
Legend:
Library
Module
Module type
Parameter
Class
Class type
type endpoint = {
  1. uri : Uri.t;
  2. conduit : Conduit_mirage.t;
  3. resolver : Resolver_lwt.t;
  4. headers : Cohttp.Header.t;
}
include Git.Tcp.NET with type endpoint := endpoint
type socket
type error
val pp_error : Format.formatter -> error -> unit
val read : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val write : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val socket : endpoint -> socket Lwt.t
val close : socket -> unit Lwt.t

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct