package protocol_version_header

  1. Overview
  2. Docs
Protocol versioning

Install

Dune Dependency

Authors

Maintainers

Sources

protocol_version_header-v0.11.0.tar.gz
sha256=c1076ae1da88bff6b9aa80a6cd9a4efda2d2154154f7627b4484e5325fc3cad5
md5=a188d7194a0f5c6d65cfdc5eba8d797b

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: 22 Mar 2018

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 (5)

  1. ocaml-migrate-parsetree >= "1.0" & < "2.0.0"
  2. jbuilder >= "1.0+beta18.1"
  3. ppx_jane >= "v0.11" & < "v0.12"
  4. core_kernel >= "v0.11" & < "v0.12"
  5. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (1)

  1. async_rpc_kernel = "v0.11.0"

Conflicts

None

OCaml

Innovation. Community. Security.