grpc v0.3.0-alpha.1 GRPC.Server.Stream

A struct as an argument that servers get in rpc function definitions and use to handle headers, send streaming replies.

Notice that you MUST use new stream returned by GRPC.Server as an argument to invoke next functions defined by GRPC.Server.

Fields

  • :server - user defined gRPC server module
  • :marshal - a function encoding the reply
  • :unmarshal - a function decoding the request
  • :adapter - a server adapter module, like GRPC.Adapter.Cowboy
  • :payload - the payload needed by the adapter

Summary

Types

t()
t :: %GRPC.Server.Stream{adapter: atom, marshal: marshal, payload: any, resp_trailers: map, server: atom, unmarshal: unmarshal}