Skip to content

Commit 36f6b80

Browse files
committed
Add docs
1 parent 735a229 commit 36f6b80

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Sources/GRPC/ClientConnection.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ extension ClientConnection {
470470
public var debugChannelInitializer: (@Sendable (Channel) -> EventLoopFuture<Void>)?
471471

472472
#if canImport(Network)
473+
/// A closure allowing to customise the `NWParameters` used when establising a connection using NIOTransportServices.
473474
@available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
474475
public var nwParametersConfigurator: (
475476
@Sendable (NIOTSConnectionBootstrap) -> Void

Sources/GRPC/ConnectionPool/GRPCChannelPool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ extension GRPCChannelPool.Configuration {
320320
return configuration
321321
}
322322

323-
// TODO: write docs
323+
/// A closure allowing to customise the `NWParameters` used when establising a connection using NIOTransportServices.
324324
@available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
325325
public var nwParametersConfigurator: (
326326
@Sendable (NIOTSConnectionBootstrap) -> Void

Sources/GRPC/Server.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ extension Server {
391391
internal var serviceProvidersByName: [Substring: CallHandlerProvider]
392392

393393
#if canImport(Network)
394+
/// A closure allowing to customise the `NWParameters` used when establising a connection using NIOTransportServices.
394395
@available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
395396
public var nwParametersConfigurator: (
396397
@Sendable (NIOTSListenerBootstrap) -> Void

0 commit comments

Comments
 (0)