package protocol_version_header

  1. Overview
  2. Docs
Protocol versioning

Install

Dune Dependency

Authors

Maintainers

Sources

protocol_version_header-v0.13.0.tar.gz
sha256=f3f456e1f8356e4b0069a9864747ab3d0c49b10a9136ab04548e6b2e7918c86d
md5=44cd282a3161ca738ec0baf9f411a27e

Description

This library offers a lightweight way for applications protocols to version themselves. The more protocols that add themselves to [Known_protocol], the nicer error messages we will get when connecting to a service while using the wrong protocol.

Published: 20 Nov 2019

README

README.org

* Protocol_version_header - protocol-aware version negotiation

Protocol_version_header is a small library that houses magic numbers for various
protocols. It exposes a =negotiate= function that is magic number aware,
returning human readable error messages when negotiation fails.

This library is used directly by =Rpc= and =Krb= so the common mistake of
mismatching clients and servers can be detected.

Dependencies (4)

  1. dune >= "1.5.1"
  2. ppx_jane >= "v0.13" & < "v0.14"
  3. core_kernel >= "v0.13" & < "v0.14"
  4. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (1)

  1. async_rpc_kernel = "v0.13.0"

Conflicts

None

OCaml

Innovation. Community. Security.