clientStreamingRpcFunction

fun <RequestT, ResponseT> clientStreamingRpcFunction(    channel: Channel,     method: MethodDescriptor<RequestT, ResponseT>,     callOptions: CallOptions = CallOptions.DEFAULT,     headers: suspend () -> Metadata = { GrpcMetadata() }): suspend (Flow<RequestT>) -> ResponseT

Returns a function object representing a client streaming RPC.

The input headers may be asynchronously formed. headers will be called each time the returned RPC is called - the headers are not cached.

Sources

Link copied to clipboard