Structureswift-nio 2.72.0NIOCore
OptionLevel
Defines socket option levels.
BSDSocketAPI.swift:158struct OptionLevel
Other members in extension
Types
struct AddressFamily
Specifies the addressing scheme that the socket can use.
struct Option
Defines configuration option names.
struct ProtocolFamily
Specifies the type of protocol that the socket can use.
Typealiases
Citizens in NIOCore
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Typealiases
Type members
init(rawValue: RawValue
) static let ip: NIOBSDSocket.OptionLevel
static let ipv6: NIOBSDSocket.OptionLevel
static let mptcp: NIOBSDSocket.OptionLevel
Socket options that apply to MPTCP sockets.
static let socket: NIOBSDSocket.OptionLevel
Socket options that apply to all sockets.
static let tcp: NIOBSDSocket.OptionLevel
static let udp: NIOBSDSocket.OptionLevel
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.