Type Aliasswift-nio 2.72.0NIOCore
ConnectTimeoutOption
ChannelOption.swift:61This declaration has been renamed to ChannelOptions.Types.ConnectTimeoutOption.
This declaration is deprecated.
typealias ConnectTimeoutOption = ChannelOptions.Types.ConnectTimeoutOption
See also
protocol ChannelOption
A configuration option that can be set on a
Channel
to configure different behaviour.protocol NIOSynchronousChannelOptions
struct ChannelOptions
Provides
ChannelOption
s to be used with aChannel
,Bootstrap
orServerBootstrap
.protocol SocketOptionProvider
This protocol defines an object, most commonly a
Channel
, that supports setting and getting socket options (viasetsockopt
/getsockopt
or similar). It provides a strongly typed API that makes working with larger, less-common socket options easier than theChannelOption
API allows.protocol RecvByteBufferAllocator
Allocates
ByteBuffer
s to be used to read bytes from aChannel
and records the number of the actual bytes that were used.struct AdaptiveRecvByteBufferAllocator
RecvByteBufferAllocator
which will gracefully increment or decrement the buffer size on the feedback that was recorded.struct FixedSizeRecvByteBufferAllocator
RecvByteBufferAllocator
which will always return aByteBuffer
with the same fixed size no matter what was recorded.typealias AllocatorOption
typealias AllowRemoteHalfClosureOption
typealias AutoReadOption
typealias BacklogOption
typealias DatagramVectorReadMessageCountOption
typealias MaxMessagesPerReadOption
typealias RecvAllocatorOption
typealias SocketOption
typealias SocketOptionLevel
typealias SocketOptionName
typealias SocketOptionValue
typealias WriteBufferWaterMarkOption
typealias WriteBufferWaterMark
typealias WriteSpinOption