Static Propertyswift-nio 2.72.0NIOCore
allowLocalEndpointReuse
Allow immediately reusing a local address.
ConvenienceOptionSupport.swift:105static let allowLocalEndpointReuse: ChannelOptions.TCPConvenienceOption
Other members in extension
Type members
static let allowRemoteHalfClosure: ChannelOptions.TCPConvenienceOption
Allows users to configure whether the
Channel
will close itself when its remote peer shuts down its send stream, or whether it will remain open. If set tofalse
(the default), theChannel
will be closed automatically if the remote peer shuts down its send stream. If set to true, theChannel
will not be closed: instead, aChannelEvent.inboundClosed
user event will be sent on theChannelPipeline
, and no more data will be received.static let disableAutoRead: ChannelOptions.TCPConvenienceOption
The user will manually call
Channel.read
once all the data is read from the transport.