public struct TCPConvenienceOption : Hashable
A TCP channel option which can be applied to a bootstrap using convenience notation.
Allows users to configure whether the
Channelwill close itself when its remote peer shuts down its send stream, or whether it will remain open. If set to
false(the default), the
Channelwill be closed automatically if the remote peer shuts down its send stream. If set to true, the
Channelwill not be closed: instead, a
ChannelEvent.inboundCloseduser event will be sent on the
ChannelPipeline, and no more data will be received.
public static let allowRemoteHalfClosure: ChannelOptions.TCPConvenienceOption