package grpc
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
OCaml gRPC
Pure OCaml implementation of gRPC over HTTP2.
Supported features:
- RPCs: unary, server streaming, client streaming, bidirectional streaming
- Client (Lwt and Async), server (Lwt only)
To get started, browse the documentation and the examples:
examples/greeter-{client,server}-{async,lwt}
implements a basic "Hello world" service usingocaml-protoc
for Protobuf serializationexamples/greeter-{client-tls-async,server-ssl-lwt}
showcases the greeter service over a secure connectionexamples/etcd
interfaces with an externaletcd
server and shows how to useocaml-protoc-plugin
for Protobuf serialization
Acknowledgments
This MVP version of this library was built by @jeffa5. Andrew gratiously passed the baton to our team to develop it into a full fledged production-ready implementation.