GrpcHandlerRegistry

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

How to configure

expect abstract class GrpcHandlerRegistry(source)

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

actual typealias GrpcHandlerRegistry = HandlerRegistry(source)

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

actual abstract class GrpcHandlerRegistry(source)

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Returns the GrpcServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation.

Link copied to clipboard
fun lookupMethod(methodName: String): ServerMethodDefinition<*, *>?
abstract fun lookupMethod(methodName: String, authority: String?): ServerMethodDefinition<*, *>?

Lookup a ServerMethodDefinition by its fully-qualified name.