RpcHeaderBoundedServerSocket constructor
RpcHeaderBoundedServerSocket(
- ServerSocket server, {
- int? maxHeaderBytes,
- Duration? headerTimeout,
- int? maxConnections,
Bounds the connections server accepts. Each bound is off when null.
Implementation
RpcHeaderBoundedServerSocket(
ServerSocket server, {
this.maxHeaderBytes,
this.headerTimeout,
this.maxConnections,
}) : _server = server;