GRPC.Client.Stream (gRPC Client v1.0.4)

Copy Markdown 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
  • :request_mod - the request module, or nil for untyped protocols
  • :response_mod - the response module, or nil for untyped protocols
  • :codec - the codec
  • :req_stream - indicates if request is streaming
  • :res_stream - indicates if reply is streaming

Summary

Functions

put_headers(stream, headers)

receive_data(stream, opts)