Add missing configurator method to the NIOTSListenerBootstrap
This commit is contained in:
parent
f129546483
commit
d61bf6d098
|
|
@ -240,6 +240,14 @@ public final class NIOTSListenerBootstrap {
|
||||||
return self
|
return self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Customise the `NWParameters` to be used when creating the connection.
|
||||||
|
public func configureNWParameters(
|
||||||
|
_ configurator: @Sendable @escaping (NWParameters) -> Void
|
||||||
|
) -> Self {
|
||||||
|
self.nwParametersConfigurator = configurator
|
||||||
|
return self
|
||||||
|
}
|
||||||
|
|
||||||
/// Specifies a type of Multipath service to use for this listener, instead of the default
|
/// Specifies a type of Multipath service to use for this listener, instead of the default
|
||||||
/// service type for the event loop.
|
/// service type for the event loop.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue