clientStreamingRpc

suspend fun <RequestT, ResponseT> clientStreamingRpc(    channel: Channel,     method: MethodDescriptor<RequestT, ResponseT>,     requests: Flow<RequestT>,     callOptions: CallOptions = CallOptions.DEFAULT,     headers: Metadata = GrpcMetadata()): ResponseT

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.

Sources

Link copied to clipboard