GrpcServerModule
object GrpcServerModule
Value members
Concrete methods
def make[F[_]](config: GrpcServerConfig, services: Seq[ServerServiceDefinition], executionContext: ExecutionContext, interceptors: Seq[ServerInterceptor])(using evidence$1: Sync[F]): Resource[F, Server]
Makes io.grpc.Server (Netty) initialized with the given config, services and interceptors.
Makes io.grpc.Server (Netty) initialized with the given config, services and interceptors.
- Value parameters:
- executionContext
executor to be used for the server
- interceptors
that are run for all the services
- services
service implementations to be added to the handler registry