grpc v0.4.0-alpha.2 GRPC.Client.Stream View Source

A struct that streaming clients get from rpc function calls and use to send further requests.

Fields

  • :channel - GRPC.Channel, the channel established by client
  • :payload - data used by adapter in a request
  • :path - the request path to sent
  • :marshal - a function encoding the request
  • :unmarshal - a function decoding the reply
  • :req_stream - indicates if request is streaming
  • :res_stream - indicates if reply is streaming

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %GRPC.Client.Stream{
  __interface__: map(),
  canceled: boolean(),
  channel: GRPC.Channel.t(),
  grpc_type: atom(),
  marshal: marshal() | nil,
  method_name: String.t(),
  path: String.t(),
  payload: stream_payload(),
  rpc: tuple(),
  server_stream: boolean(),
  service_name: String.t(),
  unmarshal: unmarshal() | nil
}