Library Moduleswift-nio 2.74.0NIOPosix
NIOPosix
import NIOPosix
Module information
- Declarations
- 8378
- Symbols
- 8414
Uncategorized
Protocols
protocol NIOEventLoopMetricsDelegate
Implement this delegate to receive information about the EventLoop, such as each tick
protocol Resolver
A protocol that covers an object that does DNS lookups.
Types
struct ACTION
class ClientBootstrap
A
ClientBootstrap
is an easy way to bootstrap aSocketChannel
when creating network clients.class DatagramBootstrap
A
DatagramBootstrap
is an easy way to bootstrap aDatagramChannel
when creating datagram clients and servers.struct Elf32_Chdr
struct Elf32_Dyn
struct Elf32_Ehdr
struct Elf32_Lib
struct Elf32_Move
struct Elf32_Nhdr
struct Elf32_Phdr
struct Elf32_RegInfo
struct Elf32_Rel
struct Elf32_Rela
struct Elf32_Shdr
struct Elf32_Sym
struct Elf32_Syminfo
struct Elf32_Verdaux
struct Elf32_Verdef
struct Elf32_Vernaux
struct Elf32_Verneed
struct Elf32_auxv_t
struct Elf32_gptab
struct Elf64_Chdr
struct Elf64_Dyn
struct Elf64_Ehdr
struct Elf64_Lib
struct Elf64_Move
struct Elf64_Nhdr
struct Elf64_Phdr
struct Elf64_Rel
struct Elf64_Rela
struct Elf64_Shdr
struct Elf64_Sym
struct Elf64_Syminfo
struct Elf64_Verdaux
struct Elf64_Verdef
struct Elf64_Vernaux
struct Elf64_Verneed
struct Elf64_auxv_t
struct Elf_MIPS_ABIFlags_v0
struct Elf_Options
struct Elf_Options_Hw
struct La_aarch64_regs
struct La_aarch64_retval
struct La_aarch64_vector
class MultiThreadedEventLoopGroup
An
EventLoopGroup
which will create multipleEventLoop
s, each tied to its ownNIOThread
.struct NIOConnectionError
A representation of all the errors that happened during an attempt to connect to a given host and port.
struct NIODirectoryEntry
A
NIODirectoryEntry
represents a single directory entry.struct NIOEventLoopTickInfo
Information about an EventLoop tick
struct NIOFcntlFailedError
NIOFcntlFailedError
indicates that NIO was unable to perform an operation on a socket.class NIOPipeBootstrap
A
NIOPipeBootstrap
is an easy way to bootstrap aPipeChannel
which uses two (uni-directional) UNIX pipes and makes aChannel
out of them.class NIORawSocketBootstrap
A
RawSocketBootstrap
is an easy way to interact with IP based protocols other then TCP and UDP.class NIOThreadPool
A thread pool that should be used if some (kernel thread) blocking work needs to be performed for which no non-blocking API exists.
enum NIOThreadPoolError
Errors that may be thrown when executing work on a
NIOThreadPool
struct NonBlockingFileIO
NonBlockingFileIO
is a helper that allows you to read files without blocking the calling thread.enum POSIXErrorCode
class ServerBootstrap
A
ServerBootstrap
is an easy way to bootstrap aServerSocketChannel
when creating network servers.struct SingleConnectionFailure
An error that occurred during connection to a given target.
class ThreadSpecificVariable<Value>
A
ThreadSpecificVariable
is a variable that can be read and set like a normal variable except that it holds different variables per thread.struct UnixDomainSocketPathWrongType
The requested UDS path exists and has wrong type (not a socket).
struct VISIT
struct VsockAddress
A vsock socket address.
enum VsockChannelEvents
struct addrinfo
struct aiocb
struct div_t
struct drand48_data
struct elf_prpsinfo
struct elf_prstatus
struct elf_siginfo
struct entry
struct esr_context
struct exit_status
struct extra_context
struct fenv_t
struct fpsimd_context
struct fsconfig_command
struct glob_t
struct group
struct hostent
struct idtype_t
struct if_nameindex
struct ifaddr
struct ifaddrs
struct ifconf
struct ifmap
struct ifreq
struct imaxdiv_t
struct inotify_event
struct ipc_perm
struct itimerval
struct lastlog
struct lconv
struct ldiv_t
struct link_map
struct lldiv_t
struct mcontext_t
struct mnt_id_req
struct mount_attr
struct msginfo
struct msqid_ds
struct netent
struct passwd
struct posix_spawn_file_actions_t
struct posix_spawnattr_t
struct protoent
struct r_debug
struct r_debug_extended
struct random_data
struct re_pattern_buffer
struct reg_errcode_t
struct regmatch_t
struct rlimit
struct rpcent
struct rusage
struct sembuf
struct semid_ds
struct seminfo
struct servent
struct shm_info
struct shmid_ds
struct shminfo
struct sigaction
struct sigcontext
struct sigevent
struct siginfo_t
struct sigstack
struct sigval
struct sockaddr_un
struct stack_t
struct statmount
struct statvfs
struct tcp_ca_state
struct tcp_info
struct tcp_md5sig
struct tcp_repair_opt
struct tcp_repair_window
struct tcp_zerocopy_receive
struct tcphdr
struct termio
struct termios
struct timezone
struct tms
struct tpidr2_context
struct user_fpsimd_struct
struct utimbuf
struct utmp
struct utmpx
struct winsize
struct wordexp_t
Show implementation details (6)
Hide implementation details
Show obsolete interfaces (1)
Hide obsolete interfaces
struct NIOFailedToSetSocketNonBlockingError
NIOFailedToSetSocketNonBlockingError
indicates that NIO was unable to set a socket to non-blocking mode, either when connecting a socket as a client or when accepting a socket as a server.
Typealiases
typealias ENTRY
typealias Elf32_Addr
typealias Elf32_Conflict
typealias Elf32_Half
typealias Elf32_Off
typealias Elf32_Relr
typealias Elf32_Section
typealias Elf32_Sword
typealias Elf32_Sxword
typealias Elf32_Versym
typealias Elf32_Word
typealias Elf32_Xword
typealias Elf64_Addr
typealias Elf64_Half
typealias Elf64_Off
typealias Elf64_Relr
typealias Elf64_Section
typealias Elf64_Sword
typealias Elf64_Sxword
typealias Elf64_Versym
typealias Elf64_Word
typealias Elf64_Xword
typealias Elf_Symndx
typealias Semaphore
typealias active_reg_t
typealias cc_t
typealias double_t
typealias elf_fpregset_t
typealias elf_gregset_t
typealias fexcept_t
typealias float_t
typealias fpregset_t
typealias greg_t
typealias gregset_t
typealias iconv_t
typealias jmp_buf
typealias lwpid_t
typealias msglen_t
typealias msgqnum_t
typealias nl_catd
typealias nl_item
typealias prfpregset_t
typealias prgregset_t
typealias prpsinfo_t
typealias prstatus_t
typealias psaddr_t
typealias reg_syntax_t
typealias regex_t
typealias regoff_t
typealias rlim_t
typealias s_reg_t
typealias shmatt_t
typealias sig_atomic_t
typealias sig_t
typealias sigevent_t
typealias sighandler_t
typealias sigjmp_buf
typealias sigval_t
typealias speed_t
typealias tcflag_t
typealias tcp_seq
typealias useconds_t
Show implementation details (20)
Hide implementation details
typealias __action_fn_t
typealias __compar_fn_t
typealias __f32x4_t
typealias __f64x2_t
typealias __ftw_func_t
typealias __gwchar_t
typealias __ipc_pid_t
typealias __itimer_which_t
typealias __pr_gid_t
typealias __pr_uid_t
typealias __prfpregset_t
typealias __prgregset_t
typealias __priority_which_t
typealias __re_long_size_t
typealias __re_size_t
typealias __rlimit_resource_t
typealias __rusage_who_t
typealias __sighandler_t
typealias __sigval_t
typealias __size_t
Globals
let MAP_FAILED: UnsafeMutableRawPointer!
var SEM_FAILED: Semaphore?
var SIG_DFL: sighandler_t?
var SIG_ERR: sighandler_t
var SIG_HOLD: sighandler_t
var SIG_IGN: sighandler_t
var S_IFBLK: mode_t
var S_IFCHR: mode_t
var S_IFDIR: mode_t
var S_IFIFO: mode_t
var S_IFLNK: mode_t
var S_IFMT: mode_t
var S_IFREG: mode_t
var S_IFSOCK: mode_t
var S_IRGRP: mode_t
var S_IROTH: mode_t
var S_IRUSR: mode_t
var S_IRWXG: mode_t
var S_IRWXO: mode_t
var S_IRWXU: mode_t
var S_ISGID: mode_t
var S_ISUID: mode_t
var S_ISVTX: mode_t
var S_IWGRP: mode_t
var S_IWOTH: mode_t
var S_IWUSR: mode_t
var S_IXGRP: mode_t
var S_IXOTH: mode_t
var S_IXUSR: mode_t
var environ: UnsafeMutablePointer<UnsafeMutablePointer<CChar>?>
var errno: Int32
func acos(Float
) -> Float func acosh(Float
) -> Float func asin(Float
) -> Float func asinh(Float
) -> Float func atan(Float
) -> Float func atan2(Float, Float
) -> Float func atanh(Float
) -> Float func cbrt(Float
) -> Float func ceil<T>(T
) -> T func copysign(Float, Float
) -> Float func cos(Float
) -> Float func cosh(Float
) -> Float func erf(Float
) -> Float func erfc(Float
) -> Float func exp(Float
) -> Float func exp2(Float
) -> Float func expm1(Float
) -> Float func fcntl(Int32, Int32
) -> Int32 func fcntl(Int32, Int32, Int32
) -> Int32 func fcntl(Int32, Int32, UnsafeMutableRawPointer
) -> Int32 func fdim(Float, Float
) -> Float func floor<T>(T
) -> T func fma<T>(T, T, T
) -> T func fmax(Float, Float
) -> Float func fmin(Float, Float
) -> Float func fmod<T>(T, T
) -> T func frexp<T>(T
) -> (T, Int) func hypot(Float, Float
) -> Float func ioctl(CInt, UInt
) -> CInt func ioctl(CInt, UInt, CInt
) -> CInt func ioctl(CInt, UInt, UnsafeMutableRawPointer
) -> CInt func jn(Int, Double
) -> Double func lgamma(Double
) -> (Double, Int) func lgamma(Float
) -> (Float, Int) func log(Float
) -> Float func log10(Float
) -> Float func log1p(Float
) -> Float func log2(Float
) -> Float func logb(Float
) -> Float func modf<T>(T
) -> (T, T) func nearbyint(Float
) -> Float func nextafter(Float, Float
) -> Float func open(UnsafePointer<CChar>, Int32
) -> Int32 func open(UnsafePointer<CChar>, Int32, mode_t
) -> Int32 func openat(Int32, UnsafePointer<CChar>, Int32
) -> Int32 func openat(Int32, UnsafePointer<CChar>, Int32, mode_t
) -> Int32 func pow(Float, Float
) -> Float func remainder<T>(T, T
) -> T func remquo(Double, Double
) -> (Double, Int) func remquo(Float, Float
) -> (Float, Int) func rint(Float
) -> Float func round<T>(T
) -> T func scalbn<T>(T, Int
) -> T func sem_open(UnsafePointer<CChar>, Int32
) -> Semaphore? func sem_open(UnsafePointer<CChar>, Int32, mode_t, CUnsignedInt
) -> Semaphore? func sin(Float
) -> Float func sinh(Float
) -> Float func sqrt<T>(T
) -> T func tan(Float
) -> Float func tanh(Float
) -> Float func tgamma(Float
) -> Float func trunc<T>(T
) -> T func yn(Int, Double
) -> Double
Show obsolete interfaces (25)
Hide obsolete interfaces
let DBL_EPSILON: Double
let DBL_MANT_DIG: Int
let DBL_MAX: Double
let DBL_MAX_EXP: Int
let DBL_MIN: Double
let DBL_MIN_EXP: Int
let DBL_TRUE_MIN: Double
let FLT_EPSILON: Float
let FLT_MANT_DIG: Int
let FLT_MAX: Float
let FLT_MAX_EXP: Int
let FLT_MIN: Float
let FLT_MIN_EXP: Int
let FLT_RADIX: Int
let FLT_TRUE_MIN: Float
let M_PI: Double
let M_PI_2: Double
let M_PI_4: Double
let M_SQRT1_2: Double
let M_SQRT2: Double
func fabs<T>(T
) -> T func ilogb<T>(T
) -> Int func ldexp(Double, Int
) -> Double func ldexp(Float, Int
) -> Float func nan(String
) -> Float
Other modules
CNIOAtomics
CNIODarwin
CNIOLLHTTP
CNIOLinux
CNIOSHA1
CNIOWASI
CNIOWindows
NIO
Event-driven, non-blocking, network application framework for high performance protocol servers & clients.
NIOConcurrencyHelpers
NIOCore
The core abstractions that make up SwiftNIO.
NIOEmbedded
NIOFileSystem
NIOFoundationCompat
NIOHTTP1
NIOTLS
NIOTestUtils
NIOWebSocket
_NIOBase64
_NIOConcurrency
_NIODataStructures
_NIOFileSystem
A file system library for Swift.
_NIOFileSystemFoundationCompat