grpc v0.3.1 GRPC.Channel View Source
A struct to store the connection data, which should be passed to RPC functions as the first argument:
Greeter.Stub.say_hello(channel, request)
Fields
:host- server’s host to connect:port- server’s port to connect:scheme- scheme of connection, likehttp:cred- credentials used for authentication:adapter- a client adapter module, likeGRPC.Adapter.Gun:adapter_payload- payload the adapter uses
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %GRPC.Channel{
adapter: atom(),
adapter_payload: any(),
cred: GRPC.Credential.t(),
host: String.t(),
port: non_neg_integer(),
scheme: String.t()
}