swift-nio
Event-driven network application framework for high performance protocol servers & clients, non-blocking.
File Explorer
- action.yml
- bug-report.md
- android_swift_sdk.yml
- benchmarks.yml
- cmake_tests.yml
- cxx_interop.yml
- macos_benchmarks.yml
- macos_tests.yml
- main.yml
- pull_request.yml
- pull_request_label.yml
- release_builds.yml
- static_sdk.yml
- swift_6_language_mode.yml
- swift_load_test_matrix.yml
- swift_matrix.yml
- swift_test_matrix.yml
- unit_tests.yml
- wasm_swift_sdk.yml
- dependabot.yml
- PULL_REQUEST_TEMPLATE.md
- release.yml
- Benchmarks.swift
- GlobalExecutor.swift
- Benchmarks.swift
- NIOThreadPoolBenchmark.swift
- TCPEcho.swift
- TCPEchoAsyncChannel.swift
- UDPEcho.swift
- NIOCoreBenchmarks.NIOAsyncChannel.init.p90.json
- NIOCoreBenchmarks.NIOAsyncChannel.init.p90.json
- NIOPosixBenchmarks.TCPEchoAsyncChannel.p90.json
- NIOCoreBenchmarks.NIOAsyncChannel.init.p90.json
- NIOPosixBenchmarks.TCPEchoAsyncChannel.p90.json
- NIOCoreBenchmarks.NIOAsyncChannel.init.p90.json
- NIOPosixBenchmarks.TCPEcho.p90.json
- NIOPosixBenchmarks.TCPEchoAsyncChannel.p90.json
- NIOCoreBenchmarks.NIOAsyncChannel.init.p90.json
- NIOPosixBenchmarks.TCPEcho.p90.json
- NIOPosixBenchmarks.TCPEchoAsyncChannel.p90.json
- .gitignore
- Package.swift
- Stackdiff+Diff.swift
- Stackdiff+Dump.swift
- Stackdiff+Merge.swift
- Stackdiff.swift
- StackFormatter.swift
- BPFTraceParser.swift
- DTraceParser.swift
- HeaptrackParser.swift
- StackParser.swift
- AggregateStacks.swift
- Similarity.swift
- AggregateStackTests.swift
- DTraceParserTests.swift
- HeaptrackParserTests.swift
- SimilarityTests.swift
- Package.swift
- alloc-limits-from-test-output
- boxed-existentials.d
- generate-bytebuffer-multi-int.sh
- git.commit.template
- lldb-smoker
- make-single-file-spm
- malloc-aggregation.bt
- malloc-aggregation.d
- stackdiff-dtrace.py
- thresholds-from-benchmark-output.sh
- update-integration-test-thresholds.sh
- advanced-performance-analysis.md
- debugging-allocations.md
- io_uring.md
- migration-guide-NIO1-to-NIO2.md
- optimization-tips.md
- public-api.md
- public-async-nio-apis.md
- workarounds.md
- atomic-counter.h
- atomic-counter.c
- Package.swift
- hooked-functions.h
- hooked-functions-darwin.c
- hooked-functions-unix.c
- Package.swift
- hooked-functions.h
- hooked-functions.c
- Package.swift
- main.c
- main.c
- scaffolding.swift
- run-allocation-counter.sh
- defines.sh
- test_01_get_file.sh
- test_02_get_random_bytes.sh
- test_03_post_random_bytes.sh
- test_04_keep_alive_works.sh
- test_05_repeated_reqs_work.sh
- test_06_http_1.0.sh
- test_07_headers_work.sh
- test_08_survive_signals.sh
- test_09_curl_happy_with_trailers.sh
- test_10_connection_drop_in_body_ok.sh
- test_11_res_body_streaming.sh
- test_12_headers_too_large.sh
- test_13_http_pipelining.sh
- test_14_strict_mode_assertion.sh
- test_15_post_in_chunked_encoding.sh
- test_16_tcp_client_ip.sh
- test_17_serve_massive_sparse_file.sh
- test_18_close_with_no_keepalive.sh
- test_19_connection_drop_while_waiting_for_response_uds.sh
- test_20_connection_drop_while_waiting_for_response_tcp.sh
- test_21_connection_reset_tcp.sh
- test_22_http_1.0_keep_alive.sh
- test_23_repeated_reqs_with_half_closure.sh
- test_24_http_over_stdio.sh
- defines.sh
- test_01_syscall_wrapper_fast.sh
- test_02_unacceptable_errnos.sh
- test_03_unacceptable_read_errnos.sh
- defines.sh
- test_01_check_we_do_not_link_Foundation.sh
- README.md
- run-nio-alloc-counter-tests.sh
- shared.swift
- test_10000000_asyncsequenceproducer.swift
- test_1000000_asyncwriter.swift
- test_1000_addHandlers.swift
- test_1000_addHandlers_sync.swift
- test_1000_addRemoveHandlers.swift
- test_1000_autoReadGetAndSet.swift
- test_1000_autoReadGetAndSet_sync.swift
- test_1000_copying_bytebufferview_to_array.swift
- test_1000_copying_circularbuffer_to_array.swift
- test_1000_getHandlers.swift
- test_1000_getHandlers_sync.swift
- test_1000_reqs_1_conn.swift
- test_1000_rst_connections.swift
- test_1000_tcpbootstraps.swift
- test_1000_tcpconnections.swift
- test_1000_udp_reqs.swift
- test_1000_udpbootstraps.swift
- test_1000_udpconnections.swift
- test_1_reqs_1000_conn.swift
- test_assume_isolated_scheduling_10000_executions.swift
- test_bytebuffer_lots_of_rw.swift
- test_creating_10000_headers.swift
- test_decode_1000_ws_frames.swift
- test_encode_1000_ws_frames.swift
- test_execute_hop_10000_tasks.swift
- test_flat_schedule_10000_tasks.swift
- test_flat_schedule_assume_isolated_10000_tasks.swift
- test_future_assume_isolated_lots_of_callbacks.swift
- test_future_erase_result.swift
- test_future_lots_of_callbacks.swift
- test_get_100000_headers_canonical_form.swift
- test_modifying_1000_circular_buffer_elements.swift
- test_modifying_byte_buffer_view.swift
- test_ping_pong_1000_reqs_1_conn.swift
- test_read_10000_chunks_from_file.swift
- test_schedule_10000_tasks.swift
- test_schedule_and_run_10000_tasks.swift
- test_schedule_assume_isolated_10000_tasks.swift
- test_schedule_with_deadline_10000_tasks.swift
- test_schedule_with_deadline_assume_isolated_10000_tasks.swift
- test_scheduling_10000_executions.swift
- test_submit_10000_tasks.swift
- test_submit_assume_isolated_10000_tasks.swift
- test_udp_1000_reqs_1_conn.swift
- test_udp_1_reqs_1000_conn.swift
- 5.10.json
- 5.8.json
- 6.1.json
- 6.2.json
- 6.3.json
- nightly-main.json
- nightly-next.json
- defines.sh
- test_01_allocation_counts.sh
- defines.sh
- test_01_syscall_wrapper_fast.sh
- plugin_echo.sh
- plugin_junit_xml.sh
- run-single-test.sh
- run-tests.sh
- test_functions.sh
- analyze_performance_results.rb
- bench-alloc-counter.sh
- check-cxx-interop-compatibility.sh
- check-matrix-job.ps1
- check-matrix-job.sh
- check_benchmark_thresholds.sh
- cmake-build.sh
- compare_perf_of_swift_versions.sh
- generate_matrix.sh
- install_android_ndk.sh
- install_swift_prerequisites.sh
- install_swift_sdk.sh
- integration_tests.sh
- nio-diagnose
- swift-build-with-android-sdk.sh
- swift-build-with-wasm-sdk.sh
- update-cmake-lists.sh
- NIOFileSystemTour.swift
- Base64.swift
- Empty.swift
- _TinyArray.swift
- Heap.swift
- PriorityQueue.swift
- DirectoryFileHandleProtocol.md
- FileHandleProtocol.md
- FileSystemProtocol.md
- ReadableFileHandleProtocol.md
- WritableFileHandleProtocol.md
- index.md
- TokenBucket.swift
- CInterop.swift
- Errno.swift
- FileDescriptor+Syscalls.swift
- Mocking.swift
- Syscall.swift
- Syscalls.swift
- SystemPackage+Windows.swift
- BufferedOrAnyStream.swift
- BufferedStream.swift
- Cancellation.swift
- ParallelDirCopy.swift
- ParallelRemoval.swift
- String+UnsafeUnititializedCapacity.swift
- SystemFileHandle.swift
- Utilities.swift
- Array+FileSystem.swift
- ArraySlice+FileSystem.swift
- BufferedReader.swift
- BufferedWriter.swift
- ByteBuffer+FileSystem.swift
- ByteCount.swift
- Convenience.swift
- DirectoryEntries.swift
- DirectoryEntry.swift
- Exports.swift
- FileChunks.swift
- FileHandle.swift
- FileHandleProtocol.swift
- FileInfo.swift
- FileSystem.swift
- FileSystemError+Syscall.swift
- FileSystemError.swift
- FileSystemProtocol.swift
- FileType.swift
- IOStrategy.swift
- NIOFilePath.swift
- NIOFileSystemSendableMetatype.swift
- OpenOptions.swift
- PrivacyInfo.xcprivacy
- String+FileSystem.swift
- Data+FileSystem.swift
- Date+FileInfo.swift
- CNIOAtomics.h
- c-atomics.c
- c-nioatomics.c
- cpp_magic.h
- CNIODarwin.h
- shim.c
- CNIOFreeBSD.h
- shim.c
- CNIOLinux.h
- liburing_nio.h
- liburing_shims.c
- shim.c
- c_nio_llhttp.h
- CNIOLLHTTP.h
- c_nio_api.c
- c_nio_http.c
- c_nio_llhttp.c
- LICENSE
- update_and_patch_llhttp.sh
- CNIOOpenBSD.h
- shim.c
- CNIOPosix.h
- event_loop_id.c
- CNIOSHA1.h
- c_nio_sha1.c
- update_and_patch_sha1.sh
- CNIOWASI.h
- CNIOWASI.c
- CNIOWindows.h
- module.modulemap
- shim.c
- WSAStartup.c
- Debugging Allocation Regressions.md
- Running Alloction Counting Tests.md
- index.md
- Exports.swift
- AsyncChannelIO.swift
- FullRequestResponse.swift
- main.swift
- main.swift
- README.md
- main.swift
- README.md
- atomics.swift
- lock.swift
- NIOAtomic.swift
- NIOLock.swift
- NIOLockedValueBox.swift
- NIOThreadPoolWorkAvailable.swift
- AsyncChannel.swift
- AsyncChannelHandler.swift
- AsyncChannelInboundStream.swift
- AsyncChannelOutboundWriter.swift
- NIOAsyncSequenceProducer.swift
- NIOAsyncSequenceProducerStrategies.swift
- NIOAsyncWriter.swift
- NIOThrowingAsyncSequenceProducer.swift
- ByteBuffer-lengthPrefix.md
- index.md
- loops-futures-concurrency.md
- swift-concurrency.md
- AddressedEnvelope.swift
- AsyncAwaitSupport.swift
- BSDSocketAPI.swift
- ByteBuffer-aux.swift
- ByteBuffer-binaryEncodedLengthPrefix.swift
- ByteBuffer-conversions.swift
- ByteBuffer-core.swift
- ByteBuffer-hex.swift
- ByteBuffer-int.swift
- ByteBuffer-lengthPrefix.swift
- ByteBuffer-multi-int.swift
- ByteBuffer-quicBinaryEncodingStrategy.swift
- ByteBuffer-views.swift
- Channel.swift
- ChannelHandler.swift
- ChannelHandlers.swift
- ChannelInvoker.swift
- ChannelOption.swift
- ChannelPipeline.swift
- CircularBuffer.swift
- Codec.swift
- ConvenienceOptionSupport.swift
- DeadChannel.swift
- DispatchQueue+WithFuture.swift
- EventLoop+Deprecated.swift
- EventLoop+SerialExecutor.swift
- EventLoop.swift
- EventLoopFuture+AssumeIsolated.swift
- EventLoopFuture+Deprecated.swift
- EventLoopFuture+WithEventLoop.swift
- EventLoopFuture.swift
- FileDescriptor.swift
- FileHandle.swift
- FileRegion.swift
- GlobalSingletons.swift
- IntegerBitPacking.swift
- IntegerTypes.swift
- Interfaces.swift
- IO.swift
- IOData.swift
- IPProtocol.swift
- Linux.swift
- MarkedCircularBuffer.swift
- MulticastChannel.swift
- NIOAny.swift
- NIOCloseOnErrorHandler.swift
- NIOCoreSendableMetatype.swift
- NIODecodedAsyncSequence.swift
- NIOLoopBound.swift
- NIOPooledRecvBufferAllocator.swift
- NIOScheduledCallback.swift
- NIOSendable.swift
- NIOSplitLinesMessageDecoder.swift
- NIOTransportAccessibleChannelCore.swift
- RecvByteBufferAllocator.swift
- SingleStepByteToMessageDecoder.swift
- SocketAddresses.swift
- SocketOptionProvider.swift
- SystemCallHelpers.swift
- TimeAmount+Duration.swift
- TypeAssistedChannelHandler.swift
- UniversalBootstrapSupport.swift
- Utilities.swift
- main.swift
- README.md
- main.swift
- README.md
- AsyncTestingChannel.swift
- AsyncTestingEventLoop.swift
- Embedded.swift
- index.md
- Exports.swift
- Exports.swift
- JSONSerialization+ByteBuffer.swift
- WaitSpinningRunLoop.swift
- ByteBuffer-foundation.swift
- Codable+ByteBuffer.swift
- TokenBucket.swift
- CInterop.swift
- Errno.swift
- FileDescriptor+Syscalls.swift
- Mocking.swift
- Syscall.swift
- Syscalls.swift
- SystemPackage+Windows.swift
- BufferedOrAnyStream.swift
- BufferedStream.swift
- Cancellation.swift
- ParallelDirCopy.swift
- ParallelRemoval.swift
- String+UnsafeUnititializedCapacity.swift
- SystemFileHandle.swift
- Utilities.swift
- Array+FileSystem.swift
- ArraySlice+FileSystem.swift
- BufferedReader.swift
- BufferedWriter.swift
- ByteBuffer+FileSystem.swift
- ByteCount.swift
- Convenience.swift
- DirectoryEntries.swift
- DirectoryEntry.swift
- Exports.swift
- FileChunks.swift
- FileHandle.swift
- FileHandleProtocol.swift
- FileInfo.swift
- FileSystem.swift
- FileSystemError+Syscall.swift
- FileSystemError.swift
- FileSystemProtocol.swift
- FileType.swift
- IOStrategy.swift
- NIOFilePath.swift
- NIOFileSystemSendableMetatype.swift
- OpenOptions.swift
- PrivacyInfo.xcprivacy
- String+FileSystem.swift
- Data+FileSystem.swift
- Date+FileInfo.swift
- ByteCollectionUtils.swift
- HTTPDecoder.swift
- HTTPEncoder.swift
- HTTPHeaders+Validation.swift
- HTTPHeaderValidator.swift
- HTTPPipelineSetup.swift
- HTTPServerPipelineHandler.swift
- HTTPServerProtocolErrorHandler.swift
- HTTPServerRequestMethodQueue.swift
- HTTPServerUpgradeHandler.swift
- HTTPTypedPipelineSetup.swift
- HTTPTypes.swift
- NIOHTTPClientUpgradeHandler.swift
- NIOHTTPObjectAggregator.swift
- NIOTypedHTTPClientUpgradeHandler.swift
- NIOTypedHTTPClientUpgraderStateMachine.swift
- NIOTypedHTTPServerUpgradeHandler.swift
- NIOTypedHTTPServerUpgraderStateMachine.swift
- main.swift
- README.md
- main.swift
- README.md
- main.swift
- Benchmark.swift
- ByteBufferViewContainsBenchmark.swift
- ByteBufferViewCopyToArrayBenchmark.swift
- ByteBufferViewIteratorBenchmark.swift
- ByteBufferWriteMultipleBenchmarks.swift
- ByteToMessageDecoderDecodeManySmallsBenchmark.swift
- ChannelPipelineBenchmark.swift
- ChannelPipelineInstantiationBenchmark.swift
- CircularBufferCopyToArrayBenchmark.swift
- CircularBufferIntoByteBufferBenchmark.swift
- DeadlineNowBenchmark.swift
- ExecuteBenchmark.swift
- LockBenchmark.swift
- main.swift
- NIOAsyncSequenceProducerBenchmark.swift
- NIOAsyncWriterSingleWritesBenchmark.swift
- NIOThreadPoolSubmitBenchmark.swift
- resources.swift
- RunIfActiveBenchmark.swift
- SchedulingAndRunningBenchmark.swift
- TCPThroughputBenchmark.swift
- UDPBenchmark.swift
- WebSocketFrameDecoderBenchmark.swift
- WebSocketFrameEncoderBenchmark.swift
- GSO-GRO-Linux.md
- index.md
- BaseSocket.swift
- BaseSocketChannel+AccessibleTransport.swift
- BaseSocketChannel+SocketOptionProvider.swift
- BaseSocketChannel.swift
- BaseStreamSocketChannel.swift
- Bootstrap.swift
- BSDSocketAPICommon.swift
- BSDSocketAPIPosix.swift
- BSDSocketAPIWindows.swift
- ControlMessage.swift
- DatagramVectorReadManager.swift
- Errors+Any.swift
- FileDescriptor.swift
- GetaddrinfoResolver.swift
- HappyEyeballs.swift
- IntegerBitPacking.swift
- IntegerTypes.swift
- IO.swift
- Linux.swift
- LinuxCPUSet.swift
- LinuxUring.swift
- MultiThreadedEventLoopGroup.swift
- NIOPosixSendableMetatype.swift
- NIORandomizedDNSResolver.swift
- NIOThreadPool.swift
- NonBlockingFileIO.swift
- PendingDatagramWritesManager.swift
- PendingWritesManager.swift
- PipeChannel.swift
- PipePair.swift
- Pool.swift
- PosixSingletons+ConcurrencyTakeOver.swift
- PosixSingletons.swift
- PrivacyInfo.xcprivacy
- RawSocketBootstrap.swift
- Resolver.swift
- Selectable.swift
- SelectableChannel.swift
- SelectableEventLoop.swift
- SelectorEpoll.swift
- SelectorGeneric.swift
- SelectorKqueue.swift
- SelectorUring.swift
- SelectorWSAPoll.swift
- ServerSocket.swift
- Socket.swift
- SocketChannel.swift
- SocketProtocols.swift
- StructuredConcurrencyHelpers.swift
- System.swift
- Thread.swift
- ThreadPosix.swift
- ThreadWindows.swift
- Utilities.swift
- VsockAddress.swift
- VsockChannelEvents.swift
- Windows.swift
- Client.swift
- README.md
- README.md
- Server.swift
- ByteToMessageDecoderVerifier.swift
- EventCounterHandler.swift
- ManualTaskExecutor.swift
- NIOHTTP1TestServer.swift
- ApplicationProtocolNegotiationHandler.swift
- NIOTypedApplicationProtocolNegotiationHandler.swift
- ProtocolNegotiationHandlerStateMachine.swift
- SNIHandler.swift
- TLSEvents.swift
- main.swift
- README.md
- main.swift
- README.md
- NIOWebSocketClientUpgrader.swift
- NIOWebSocketFrameAggregator.swift
- NIOWebSocketServerUpgrader.swift
- SHA1.swift
- WebSocketErrorCodes.swift
- WebSocketFrame.swift
- WebSocketFrameDecoder.swift
- WebSocketFrameEncoder.swift
- WebSocketOpcode.swift
- WebSocketProtocolErrorHandler.swift
- Client.swift
- README.md
- README.md
- Server.swift
- Base64Test.swift
- NIOConcurrencyHelpersTests.swift
- AsyncChannelInboundStreamTests.swift
- AsyncChannelOutboundWriterTests.swift
- AsyncChannelTests.swift
- NIOAsyncSequenceProducer+HighLowWatermarkBackPressureStrategyTests.swift
- NIOAsyncSequenceTests.swift
- NIOAsyncWriterTests.swift
- NIOThrowingAsyncSequenceTests.swift
- AddressedEnvelopeTests.swift
- AsyncSequenceTests.swift
- BaseObjectsTest.swift
- ByteBufferBinaryEncodedLengthPrefixTests.swift
- ByteBufferCrashTests.swift
- ByteBufferCustomAllocatorTest.swift
- ByteBufferLengthPrefixTests.swift
- ByteBufferQUICBinaryEncodingStrategyTests.swift
- ByteBufferSpanTests.swift
- ByteBufferTest.swift
- ChannelOptionStorageTest.swift
- CircularBufferTests.swift
- CustomChannelTests.swift
- DispatchQueue+WithFutureTest.swift
- IntegerTypesTest.swift
- IOErrorTest.swift
- LinuxTest.swift
- MarkedCircularBufferTests.swift
- NIOAnyDebugTest.swift
- NIOCloseOnErrorHandlerTest.swift
- NIODecodedAsyncSequenceTests.swift
- NIOIsolatedEventLoopTests.swift
- NIOPooledRecvBufferAllocatorTests.swift
- NIOSplitLinesMessageDecoderTests.swift
- RecvByteBufAllocatorTest.swift
- SingleStepByteToMessageDecoderTest.swift
- TimeAmount+DurationTests.swift
- TimeAmountTests.swift
- TypeAssistedChannelHandlerTests.swift
- UtilitiesTest.swift
- XCTest+AsyncAwait.swift
- XCTest+Extensions.swift
- HeapTests.swift
- PriorityQueueTests.swift
- AsyncTestingChannelTests.swift
- AsyncTestingEventLoopTests.swift
- EmbeddedChannelTest.swift
- EmbeddedEventLoopTest.swift
- TestUtils.swift
- XCTest+AsyncAwait.swift
- ByteBuffer+UUIDTests.swift
- ByteBufferDataProtocolTests.swift
- ByteBufferView+MutableDataProtocolTest.swift
- Codable+ByteBufferTest.swift
- JSONSerialization+ByteBufferTest.swift
- WaitSpinningRunLoopTests.swift
- FileSystemFoundationCompatTests.swift
- README.txt
- Foo.symlink
- README.md
- README.md.symlink
- BufferedReaderTests.swift
- BufferedWriterTests.swift
- ConvenienceTests.swift
- FileHandleTests.swift
- FileSystemTests+SPI.swift
- FileSystemTests.swift
- XCTestExtensions.swift
- BufferedStreamTests.swift
- CancellationTests.swift
- MockingInfrastructure.swift
- SyscallTests.swift
- ByteCountTests.swift
- DirectoryEntriesTests.swift
- FileChunksTests.swift
- FileHandleTests.swift
- FileInfoTests.swift
- FileOpenOptionsTests.swift
- FilePathTests.swift
- FileSystemErrorTests.swift
- FileTypeTests.swift
- XCTestExtensions.swift
- ByteBufferUtilsTest.swift
- ContentLengthTests.swift
- HTTPClientUpgradeTests.swift
- HTTPDecoderLengthTest.swift
- HTTPDecoderTest.swift
- HTTPDecoderTesting.swift
- HTTPHeadersTest.swift
- HTTPHeaderValidationTests.swift
- HTTPRequestEncoderTest.swift
- HTTPResponseEncoderTest.swift
- HTTPResponseStatusTests.swift
- HTTPServerClientTest.swift
- HTTPServerPipelineHandlerTest.swift
- HTTPServerProtocolErrorHandlerTest.swift
- HTTPServerUpgraderStateMachineTests.swift
- HTTPServerUpgradeTests.swift
- HTTPTest.swift
- HTTPTypesTest.swift
- NIOHTTPObjectAggregatorTest.swift
- TestUtils.swift
- AcceptBackoffHandlerTest.swift
- AsyncChannelBootstrapTests.swift
- BlockingIOThreadPoolTest.swift
- BootstrapTest.swift
- ChannelNotificationTest.swift
- ChannelPipelineTest.swift
- ChannelTests.swift
- CodecTest.swift
- ControlMessageTests.swift
- CoWValue.swift
- CrashTestSupport.swift
- DatagramChannelTests.swift
- EchoServerClientTest.swift
- EventLoopCrashTests.swift
- EventLoopFutureIsolatedTests.swift
- EventLoopFutureTest.swift
- EventLoopMetricsDelegateTests.swift
- EventLoopTest.swift
- FileRegionTest.swift
- GetAddrInfoResolverTest.swift
- HappyEyeballsTest.swift
- IdleStateHandlerTest.swift
- IntegerBitPackingTests.swift
- IPv4Header.swift
- LoopBoundCrashTests.swift
- MulticastTest.swift
- NIOFileHandleTest.swift
- NIOLoopBoundTests.swift
- NIORandomizedDNSResolverTest.swift
- NIOScheduledCallbackTests.swift
- NIOThreadPoolTest.swift
- NIOTransportAccessibleChannelCoreTests.swift
- NonBlockingFileIOTest.swift
- PendingDatagramWritesManagerTests.swift
- PipeChannelTest.swift
- RawSocketBootstrapTests.swift
- SALChannelTests.swift
- SALEventLoopTests.swift
- SelectorTest.swift
- SerialExecutorTests.swift
- SocketAddressTest.swift
- SocketChannelTest.swift
- SocketOptionProviderTest.swift
- StreamChannelsTest.swift
- StrictCrashTests.swift
- SyscallAbstractionLayer.swift
- SyscallAbstractionLayerContext.swift
- SystemCallWrapperHelpers.swift
- SystemCrashTests.swift
- SystemTest.swift
- TestUtils.swift
- ThreadTest.swift
- UniversalBootstrapSupportTest.swift
- VsockAddressTest.swift
- XCTest+AsyncAwait.swift
- GlobalSingletonsTests.swift
- NIOTests.swift
- ByteToMessageDecoderVerifierTest.swift
- EventCounterHandlerTest.swift
- ManualTaskExecutorTest.swift
- NIOHTTP1TestServerTest.swift
- ApplicationProtocolNegotiationHandlerTests.swift
- NIOTypedApplicationProtocolNegotiationHandlerTests.swift
- SNIHandlerTests.swift
- ByteBufferWebSocketTests.swift
- NIOWebSocketClientUpgraderTests.swift
- NIOWebSocketFrameAggregatorTests.swift
- WebSocketClientEndToEndTests.swift
- WebSocketFrameDecoderTest.swift
- WebSocketFrameEncoderTest.swift
- WebSocketMaskingKeyTests.swift
- WebSocketServerEndToEndTests.swift
- .editorconfig
- .git-blame-ignore-revs
- .gitattributes
- .gitignore
- .licenseignore
- .mailfilter
- .mailmap
- .spi.yml
- .swift-format
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- CONTRIBUTORS.txt
- LICENSE.txt
- NOTICE.txt
- Package.swift
- README.md
- SECURITY.md
# Installation Guide
swiftSetup Steps
git clone https://github.com/apple/swift-nio.git
Clone the repository locally.
cd swift-nio
Navigate to the project directory.
swift build
Build the Swift package.
swift test
Run the tests.
Key Commands
swift build
Builds the source code of the project.
swift test
Runs the test cases included in the package.
swift package clean
Cleans build artifacts.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
swift
View Details ▼
swift
Create, run, and build Swift projects.
swift repl
Start a REPL (interactive shell):
swift {{file.swift}}
Execute a program:
swift package init
Start a new project with the package manager:
apt-get
View Details ▼
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
sudo apt-get update
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
sudo apt-get install {{package}}
Install a package, or update it to the latest available version:
sudo apt-get remove {{package}}
Remove a package:
dnf install
View Details ▼
dnf install
Install packages on Red Hat-based distributions.
sudo dnf {{[in|install]}} {{package1 package2 ...}}
Install packages by name:
sudo dnf {{[in|install]}} {{path/to/file}}
Install a package from a local file:
sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}
Install a package from the internet:
