Enumerations
The following enumerations are available globally.
-
Possible Explicit Congestion Notification States
See moreDeclaration
Swift
public enum NIOExplicitCongestionNotificationState : Hashable
-
Undocumented
See moreDeclaration
Swift
public enum NIOBSDSocket
-
Endianness refers to the sequential order in which bytes are arranged into larger numerical values when stored in memory or when transmitted over digital links.
See moreDeclaration
Swift
public enum Endianness
-
Declaration
Swift
public enum ChannelError : Error
extension ChannelError: Equatable
-
An
See moreChannel
related event that is passed through theChannelPipeline
to notify the user.Declaration
Swift
public enum ChannelEvent : Equatable
-
Specify what kind of close operation is requested.
See moreDeclaration
Swift
public enum CloseMode
-
See moreError
that is used by theChannelPipeline
to inform the user of an error.Declaration
Swift
public enum ChannelPipelineError : Error
-
State of the current decoding process.
See moreDeclaration
Swift
public enum DecodingState
-
Common errors thrown by
See moreByteToMessageDecoder
s.Declaration
Swift
public enum ByteToMessageDecoderError : Error
-
This type is intended to be used by libraries which use NIO, and offer their users either the option to
See more.share
an existing event loop group or create (and manage) a new one (.createNew
) and let it be managed by given library and its lifecycle.Declaration
Swift
public enum NIOEventLoopGroupProvider
-
Declaration
Swift
public enum EventLoopError : Error
extension EventLoopError: CustomStringConvertible
-
IOData
unifies standard SwiftNIO types that are raw bytes of data; currentlyByteBuffer
andFileRegion
.Many
See moreChannelHandler
s receive or emit bytes and in most cases this can be either aByteBuffer
or aFileRegion
from disk. To still form a well-typedChannelPipeline
such handlers should receive and emit value of typeIOData
.Declaration
Swift
public enum IOData
extension IOData: Equatable
extension IOData: CustomStringConvertible
-
Special
See moreError
that may be thrown if we fail to create aSocketAddress
.Declaration
Swift
public enum SocketAddressError : Error
-
Represent a socket address to which we may want to connect or bind.
See moreDeclaration
Swift
public enum SocketAddress : CustomStringConvertible
extension SocketAddress: Equatable
extension SocketAddress: Hashable
-
Undocumented
See moreDeclaration
Swift
public enum System