View Source GRPC.Client.Adapter behaviour (grpc v0.5.0)
HTTP client adapter for GRPC.
Link to this section Summary
Link to this section Types
@type fin() :: :fin | :nofin
Determines if the headers have finished being read.
Link to this section Callbacks
@callback connect(GRPC.Channel.t(), map()) :: {:ok, GRPC.Channel.t()} | {:error, any()}
@callback disconnect(GRPC.Channel.t()) :: {:ok, GRPC.Channel.t()} | {:error, any()}
@callback send_request(GRPC.Client.Stream.t(), binary(), map()) :: GRPC.Client.Stream.t()