Client Calls
Helpers for gRPC clients implemented in Kotlin. Can be used directly, but intended to be used from generated Kotlin APIs.
Functions
Returns a Flow which launches the specified bidirectional-streaming RPC, collecting the requests flow, sending them to the server, and emitting the responses.
Returns a function object representing a bidirectional streaming RPC.
Launches a client-streaming RPC on the specified channel, suspending until the server returns the result. The caller is expected to provide a Flow of requests.
Returns a function object representing a client streaming RPC.
Returns a Flow which launches the specified server-streaming RPC and emits the responses.
Returns a function object representing a server streaming RPC.
Launches a unary RPC on the specified channel, suspending until the result is received.
Returns a function object representing a unary RPC.