package pidgio

  1. Overview
  2. Docs
Description of JSONRPC Servers on processes

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pidgio-0.0.2.tbz
sha256=a8a280ab21c5d13486e94a5a34dd4b1b8c2828e7751c45ca8bcf796f951993e7
sha512=6ed48309c1ed7f81ec2591ac38f7954e39b7c8111eb92c2f3c8b9a65d5153194f7538d93be4763a7af9f7159a1dccc009239b4b4ecbd02911fbc135c6d562d49

doc/index.html

pidgio

API

Library pidgio

  • Pidgio A library for writing JSON-RPC 2.0 servers that communicate over a process's standard streams rather than a socket. You declare a set of methods (using Highway), each with its own parameter decoding and result encoding (using Pidgin), and the library handles the rest of the protocol: reading framed messages from stdin, parsing and validating envelopes, routing requests to handlers, distinguishing requests from notifications, serialising results and errors back to stdout, and reporting malformed input with the standard error codes.