GrpcClientConfiguration

Available in a dev version: 0․11․0-grpc-186

How to configure

Configuration class for a gRPC client, providing customization options for client behavior, including interceptors, credentials, marshaller resolution, and authority overrides.

See also

Types

Link copied to clipboard
class KeepAlive

Represents keep-alive settings for a gRPC client connection.

Properties

Link copied to clipboard

Configures the client credentials used for secure gRPC requests made by the client.

Link copied to clipboard
Link copied to clipboard

Configurable resolver used to determine the appropriate marshaller for a given Kotlin type during message serialization and deserialization in gRPC calls.

Link copied to clipboard

Overrides the authority used with TLS and HTTP virtual hosting. It does not change what the host is actually connected to. Is commonly in the form host:port.

Functions

Link copied to clipboard
fun intercept(vararg interceptors: GrpcClientInterceptor)

Adds one or more client-side interceptors to the current gRPC client configuration. Interceptors enable extended customization of gRPC calls by observing or altering the behaviors of requests and responses.

Link copied to clipboard

Configures keep-alive settings for the gRPC client.

Link copied to clipboard

Provides insecure client credentials for the gRPC client configuration.

Link copied to clipboard

Configures and creates secure client credentials for the gRPC client.