Configure Server
Allows to configure the gRPC's Server instance, on top of which this GrpcContainer
will operate.
It is expected that the obtained builder of gRPC server is used to perform some fine-grained tuning of its features. The same instance of ServerBuilder should be returned.
Example.
GrpcContainer container =
GrpcContainer.atPort(1654)
.withServer((server) -> server.maxInboundMessageSize(16_000_000))
// ...
.build();
Content copied to clipboard
Please note this interface is a part of experimental API.