This directory holds all the source for the Monorail pRPC API. This API is implemented using .proto
files to describe a gRPC
interface (services, methods, and request/response messages). It then uses a shim which converts the gRPC
server (which doesn't work on AppEngine, due to lack of support for HTTP/2) into a pRPC
server which supports communication over HTTP/1.1, as well as text and JSON IO.
pattern
field.All resources, methods, request parameters, and responses are documented in ./api_proto.
Resource name formats for each message are found in the message's resource annotation pattern
field.
In order to regenerate the python server and client stubs from the .proto
files, run this command:
$ make prpc_proto_v3
If you run into issues with cproto
, you might need to run this command first:
eval `../../go/env.py`