Motivation: The server transport takes config which has a natural set of defaults. They should be the default argument. Modifications: - Add default arg Result: Easier to use
@@ -30,7 +30,7 @@ extension HTTP2ServerTransport {
public init(
address: GRPCHTTP2Core.SocketAddress,
- config: Config,
+ config: Config = .defaults,
eventLoopGroup: MultiThreadedEventLoopGroup = .singletonMultiThreadedEventLoopGroup
) {
self.address = address