package cohttp

  1. Overview
  2. No Docs
An OCaml library for HTTP clients and servers

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cohttp-2.5.8.tbz
sha256=2722477d1f5bb09e841debc125c30ff44f1b20cf8894b68cb48f2b6de092d25a
sha512=ce934a24c0e1eaf5dc674927b45277d461a13757d4c165a4a11811f9eb7b11b78b4560792ca430734d4e3a5b8791eee887d4eab2a0e9e30aa4a5864e833dd768

doc/cohttp/Cohttp/Connection/index.html

Module Cohttp.ConnectionSource

Connection identifiers.

Sourcetype t

Abstract type for connection identifiers.

include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : unit -> t

Create a fresh connection identifier.

Sourceval to_string : t -> string

Pretty-print a connection identifer.

Sourceval compare : t -> t -> int

Comparison function for two identifiers. More recently constructed identifiers will be greater than older ones.