Server constructor
- @Deprecated('use Server.create() instead')
- List<
Service> services, [ - List<
Interceptor> interceptors = const <Interceptor>[], - CodecRegistry? codecRegistry,
- GrpcErrorHandler? errorHandler,
- ServerKeepAliveOptions keepAlive = const ServerKeepAliveOptions(),
Create a server for the given services
.
Implementation
@Deprecated('use Server.create() instead')
Server(
super.services, [
super.interceptors,
super.codecRegistry,
super.errorHandler,
super.keepAlive,
]);