disableAutoRead
The user will manually call Channel.read
once all the data is read from the transport.
static let disableAutoRead: ChannelOptions.TCPConvenienceOption
The user will manually call Channel.read
once all the data is read from the transport.
static let disableAutoRead: ChannelOptions.TCPConvenienceOption
s7NIOCore14ChannelOptionsV20TCPConvenienceOptionV15disableAutoReadAEvpZ
What are these?2UKP5
import NIOCore
The core abstractions that make up SwiftNIO.
struct TCPConvenienceOption
A TCP channel option which can be applied to a bootstrap using convenience notation.
struct ChannelOptions
Provides ChannelOption
s to be used with a Channel
, Bootstrap
or ServerBootstrap
.
static let allowLocalEndpointReuse: ChannelOptions.TCPConvenienceOption
Allow immediately reusing a local address.
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 to false
(the default), the Channel
will be closed automatically if the remote peer shuts down its send stream. If set to true, the Channel
will not be closed: instead, a ChannelEvent.inboundClosed
user event will be sent on the ChannelPipeline
, and no more data will be received.