-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump to Swift 5.6 minimum and update README * The usual CI cleanup * Require a more recent NIO, switch to NIOCore instead of NIO, use EventLoopGroup.any() instead of .next(), make EventLoopGroupProvider an alias for NIO's version, use annotated exports * Ditch unneeded Concurrency checks (which also incidentally enables back-deployment to 10.15) * Update SSLTestHelpers to reflect the current state of the original upstream (which basically just means using OpaquePointer instead of UMP<EVP_PKEY>, partly because EVP_PKEY is no longer visible from CNIOBoringSSL * Add API breakage allowlist for this branch * Add test coverage for all the connect methods, binary frames, and ping intervals.
- Loading branch information
Showing
17 changed files
with
627 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
API breakage: import NIO has been renamed to import NIOCore | ||
API breakage: import NIO has been renamed to import NIOPosix | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
#if !BUILDING_DOCC | ||
#if swift(>=5.8) | ||
|
||
@_exported import struct NIO.ByteBuffer | ||
@_exported import protocol NIO.Channel | ||
@_exported import protocol NIO.EventLoop | ||
@_exported import protocol NIO.EventLoopGroup | ||
@_exported import struct NIO.EventLoopPromise | ||
@_exported import class NIO.EventLoopFuture | ||
@_documentation(visibility: internal) @_exported import struct NIOCore.ByteBuffer | ||
@_documentation(visibility: internal) @_exported import protocol NIOCore.Channel | ||
@_documentation(visibility: internal) @_exported import protocol NIOCore.EventLoop | ||
@_documentation(visibility: internal) @_exported import protocol NIOCore.EventLoopGroup | ||
@_documentation(visibility: internal) @_exported import struct NIOCore.EventLoopPromise | ||
@_documentation(visibility: internal) @_exported import class NIOCore.EventLoopFuture | ||
|
||
@_documentation(visibility: internal) @_exported import struct NIOHTTP1.HTTPHeaders | ||
|
||
@_documentation(visibility: internal) @_exported import struct Foundation.URL | ||
|
||
#else | ||
|
||
@_exported import struct NIOCore.ByteBuffer | ||
@_exported import protocol NIOCore.Channel | ||
@_exported import protocol NIOCore.EventLoop | ||
@_exported import protocol NIOCore.EventLoopGroup | ||
@_exported import struct NIOCore.EventLoopPromise | ||
@_exported import class NIOCore.EventLoopFuture | ||
|
||
@_exported import struct NIOHTTP1.HTTPHeaders | ||
|
||
@_exported import struct Foundation.URL | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import NIO | ||
import NIOCore | ||
import NIOWebSocket | ||
import NIOHTTP1 | ||
import NIOSSL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import NIO | ||
import NIOCore | ||
import NIOWebSocket | ||
|
||
extension WebSocket { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.