Module: HTTPX::Plugins::GRPC::OptionsMethods

Defined in:
lib/httpx/plugins/grpc.rb

Overview

adds support for the following options:

:grpc_service :: name of the GRPC service service. :grpc_compression :: whether payloads should be GZIP-compressed (false by default). :grpc_rpcs :: maps local rpc names to the service RCP information. :grpc_deadline :: sets the service call deadline that the peer should stick to. :call_credentials :: callable which should yield a key-value hash which will be passed in the request HTTP headers.

You're recommended not to set any of these options directly, and instead use methods such as InstanceMethods#rpc and InstanceMethods#build_stub.