GrpcClient

expect abstract class GrpcClient
actual abstract class GrpcClient
actual abstract class GrpcClient
actual abstract class GrpcClient

Constructors

Link copied to clipboard
expect constructor()
constructor()
actual constructor()
constructor()

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
inline fun <T : Service> create(): T

Returns a T that makes gRPC calls using this client.

fun <T : Service> create(service: KClass<T>): T

Returns a service that makes gRPC calls using this client.

Link copied to clipboard
Link copied to clipboard
expect abstract fun <S : Any, R : Any> newCall(method: GrpcMethod<S, R>): GrpcCall<S, R>
actual abstract fun <S : Any, R : Any> newCall(method: GrpcMethod<S, R>): GrpcCall<S, R>
actual abstract fun <S : Any, R : Any> newCall(method: GrpcMethod<S, R>): GrpcCall<S, R>
actual abstract fun <S : Any, R : Any> newCall(method: GrpcMethod<S, R>): GrpcCall<S, R>
Link copied to clipboard
expect abstract fun <S : Any, R : Any> newStreamingCall(method: GrpcMethod<S, R>): GrpcStreamingCall<S, R>
actual abstract fun <S : Any, R : Any> newStreamingCall(method: GrpcMethod<S, R>): GrpcStreamingCall<S, R>
actual abstract fun <S : Any, R : Any> newStreamingCall(method: GrpcMethod<S, R>): GrpcStreamingCall<S, R>
actual abstract fun <S : Any, R : Any> newStreamingCall(method: GrpcMethod<S, R>): GrpcStreamingCall<S, R>