Package-level declarations

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

How to configure

Types

Link copied to clipboard
expect abstract class GrpcHandlerRegistry

Registry of services and their methods used by servers to dispatching incoming calls.

actual typealias GrpcHandlerRegistry = HandlerRegistry
typealias GrpcHandlerRegistry = HandlerRegistry

Registry of services and their methods used by servers to dispatching incoming calls.

actual abstract class GrpcHandlerRegistry

Registry of services and their methods used by servers to dispatching incoming calls.

Link copied to clipboard
actual typealias GrpcInsecureServerCredentials = InsecureServerCredentials
typealias GrpcInsecureServerCredentials = InsecureServerCredentials
Link copied to clipboard
interface GrpcServer : RpcServer

Server for listening for and dispatching incoming calls. It is not expected to be implemented by application code or interceptors.

Link copied to clipboard

The scope of a single incoming gRPC server call observed by a GrpcServerInterceptor.

Link copied to clipboard

A configuration class for setting up a gRPC server.

Link copied to clipboard
expect abstract class GrpcServerCredentials
actual typealias GrpcServerCredentials = ServerCredentials
typealias GrpcServerCredentials = ServerCredentials
actual abstract class GrpcServerCredentials
Link copied to clipboard

Server-side interceptor for gRPC calls.

Link copied to clipboard

Definition of a service to be exposed via a Server.

actual typealias GrpcServerServiceDefinition = ServerServiceDefinition
typealias GrpcServerServiceDefinition = ServerServiceDefinition

Definition of a service to be exposed via a Server.

Definition of a service to be exposed via a Server.

Link copied to clipboard
Link copied to clipboard
actual typealias GrpcTlsServerCredentials = TlsServerCredentials
typealias GrpcTlsServerCredentials = TlsServerCredentials

Functions

Link copied to clipboard
fun GrpcServer(port: Int, parentContext: CoroutineContext = EmptyCoroutineContext, configure: GrpcServerConfiguration.() -> Unit = {}): GrpcServer

Creates and configures a gRPC server instance.

Link copied to clipboard