package protocol_version_header

  1. Overview
  2. Docs
Protocol versioning

Install

Dune Dependency

Authors

Maintainers

Sources

protocol_version_header-v0.16.0.tar.gz
sha256=9c3c81bd6e378b7a33ede28b6b1691512ee8a299a65387da03b9eb2adabcb25f

README.org.html

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.