-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f050437
commit 717d1c3
Showing
8 changed files
with
694 additions
and
0 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,7 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
/*.xcodeproj | ||
xcuserdata/ | ||
.swiftpm/xcode | ||
Ignored/ |
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,43 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "kvKit-Swift", | ||
"repositoryURL": "https://github.com/keyvariable/kvKit-Swift.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "f0c4253c7214ce090feb6adf6247fe5b918b70e0", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
{ | ||
"package": "swift-nio", | ||
"repositoryURL": "https://github.com/apple/swift-nio.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "43931b7a7daf8120a487601530c8bc03ce711992", | ||
"version": "2.25.1" | ||
} | ||
}, | ||
{ | ||
"package": "swift-nio-http2", | ||
"repositoryURL": "https://github.com/apple/swift-nio-http2.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "d4060ac4d056a48d946298f04968f6f6080cc618", | ||
"version": "1.16.2" | ||
} | ||
}, | ||
{ | ||
"package": "swift-nio-ssl", | ||
"repositoryURL": "https://github.com/apple/swift-nio-ssl.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "62bf5083df970e67c886210fa5b857eacf044b7c", | ||
"version": "2.10.2" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
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,42 @@ | ||
// swift-tools-version:5.2 | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// Copyright (c) 2021 Svyatoslav Popov. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | ||
// the License. You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
// specific language governing permissions and limitations under the License. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "kvHttp2Kit-Swift", | ||
products: [ | ||
.library(name: "kvHttp2Kit", targets: [ "kvHttp2Kit" ]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-nio.git", from: "2.13.0"), | ||
.package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.9.0"), | ||
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.6.0"), | ||
.package(url: "https://github.com/keyvariable/kvKit-Swift.git", from: "1.0.0"), | ||
], | ||
targets: [ | ||
.target(name: "kvHttp2Kit", | ||
dependencies: [ .product(name: "kvKit", package: "kvKit-Swift"), | ||
.product(name: "NIO", package: "swift-nio"), | ||
.product(name: "NIOHTTP1", package: "swift-nio"), | ||
.product(name: "NIOHTTP2", package: "swift-nio-http2"), | ||
.product(name: "NIOSSL", package: "swift-nio-ssl") ]), | ||
.testTarget(name: "kvHttp2KitTests", dependencies: [ "kvHttp2Kit" ]), | ||
] | ||
) |
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,42 @@ | ||
# kvHttp2Kit-Swift | ||
|
||
![Swift 5.2](https://img.shields.io/badge/swift-5.2-green.svg) | ||
![Linux](https://img.shields.io/badge/os-linux-green.svg) | ||
![macOS](https://img.shields.io/badge/os-macOS-green.svg) | ||
|
||
A collection of auxiliaries for HTTP and HTTP/2 on Swift. It's based on [SwiftNIO](https://github.com/apple/swift-nio). | ||
|
||
|
||
## Supported Platforms | ||
|
||
The same as [SwiftNIO](https://github.com/apple/swift-nio). | ||
|
||
|
||
## Getting Started | ||
|
||
### Swift Tools 5.2+ | ||
|
||
#### Package Dependencies: | ||
|
||
```swift | ||
dependencies: [ | ||
.package(url: "https://github.com/keyvariable/kvHttp2Kit-Swift", from: "0.1.0"), | ||
] | ||
``` | ||
|
||
#### Target Dependencies: | ||
|
||
```swift | ||
dependencies: [ | ||
.product(name: "kvHttp2Kit", package: "kvHttp2Kit-Swift"), | ||
] | ||
``` | ||
|
||
### Xcode | ||
|
||
Documentation: [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app). | ||
|
||
|
||
## Authors | ||
|
||
- Svyatoslav Popov ([@sdpopov-keyvariable](https://github.com/sdpopov-keyvariable), [[email protected]](mailto:[email protected])). |
Oops, something went wrong.