Skip to content

Instantly share code, notes, and snippets.

View rebello95's full-sized avatar

Michael Rebello rebello95

View GitHub Profile
@rebello95
rebello95 / http-ext.proto
Created October 3, 2018 20:15
Extend RPC methods to support HTTP options
message HttpOptions {
// URL path to the HTTP endpoint.
string path = 1;
// The HTTP verb/action, (i.e., GET, POST etc.).
string method = 2;
// Request encodings supported by the endpoint.
repeated Encoding accepted_request_encodings = 3;