Non-blocking, event-driven HTTP/2 client built on Swift NIO. Heavily based on vapor/http.
What's New
Description
- Swift Tools 4.2.0
Description
{ "name": "nio-h2", "path": "/usr/src/package", "targets": [ { "name": "NIOH2Example", "path": "Sources/NIOH2Example", "type": "executable", "c99name": "NIOH2Example", "sources": [ "main.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "nio-h2-example" ], "target_dependencies": [ "NIOH2" ] }, { "name": "NIOH2", "path": "Sources/NIOH2", "type": "library", "c99name": "NIOH2", "sources": [ "ChannelHandlers/HTTP2ClientRequestSerializer.swift", "ChannelHandlers/HTTP2ClientResponseParser.swift", "ChannelHandlers/HTTP2StreamChannelCreator.swift", "ChannelHandlers/QueueHandler.swift", "Extensions/EventLoopFuture+DoCatch.swift", "Extensions/EventLoopFuture+FutureType.swift", "Extensions/EventLoopFuture+Map.swift", "Extensions/EventLoopGroup.swift", "Extensions/HTTPHeaders.swift", "Extensions/URL+HTTP.swift", "HTTP/HTTPBody.swift", "HTTP/HTTPMessage.swift", "HTTP/HTTPRequest.swift", "HTTP/HTTPResponse.swift", "HTTP2Client.swift", "Utils/HTTPHeaderName.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "nio-h2-example", "NIOH2" ], "product_dependencies": [ "NIO", "NIOOpenSSL", "NIOHTTP1", "NIOHTTP2" ] } ], "products": [ { "name": "nio-h2-example", "type": { "executable": null }, "targets": [ "NIOH2Example" ] }, { "name": "NIOH2", "type": { "library": [ "automatic" ] }, "targets": [ "NIOH2" ] } ], "platforms": [], "dependencies": [ { "url": "https://github.com/apple/swift-nio", "type": "sourceControl", "identity": "swift-nio", "requirement": { "range": [ { "lower_bound": "1.0.0", "upper_bound": "2.0.0" } ] } }, { "url": "https://github.com/apple/swift-nio-ssl", "type": "sourceControl", "identity": "swift-nio-ssl", "requirement": { "range": [ { "lower_bound": "1.0.0", "upper_bound": "2.0.0" } ] } }, { "url": "https://github.com/apple/swift-nio-http2", "type": "sourceControl", "identity": "swift-nio-http2", "requirement": { "range": [ { "lower_bound": "0.1.0", "upper_bound": "0.2.0" } ] } } ], "tools_version": "4.2", "manifest_display_name": "nio-h2" }
Package Dump
{ "name": "nio-h2", "targets": [ { "name": "NIOH2Example", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "NIOH2", null ] } ], "packageAccess": false }, { "name": "NIOH2", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "NIO", null ] }, { "byName": [ "NIOOpenSSL", null ] }, { "byName": [ "NIOHTTP1", null ] }, { "byName": [ "NIOHTTP2", null ] } ], "packageAccess": false } ], "products": [ { "name": "nio-h2-example", "type": { "executable": null }, "targets": [ "NIOH2Example" ] }, { "name": "NIOH2", "type": { "library": [ "automatic" ] }, "targets": [ "NIOH2" ] } ], "pkgConfig": null, "platforms": [], "providers": null, "packageKind": { "root": [ "/usr/src/package" ] }, "dependencies": [ { "sourceControl": [ { "identity": "swift-nio", "location": { "remote": [ { "urlString": "https://github.com/apple/swift-nio" } ] }, "requirement": { "range": [ { "lowerBound": "1.0.0", "upperBound": "2.0.0" } ] }, "productFilter": null } ] }, { "sourceControl": [ { "identity": "swift-nio-ssl", "location": { "remote": [ { "urlString": "https://github.com/apple/swift-nio-ssl" } ] }, "requirement": { "range": [ { "lowerBound": "1.0.0", "upperBound": "2.0.0" } ] }, "productFilter": null } ] }, { "sourceControl": [ { "identity": "swift-nio-http2", "location": { "remote": [ { "urlString": "https://github.com/apple/swift-nio-http2" } ] }, "requirement": { "range": [ { "lowerBound": "0.1.0", "upperBound": "0.2.0" } ] }, "productFilter": null } ] } ], "toolsVersion": { "_version": "4.2.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": null }
Dependencies
- swift-nio1.11.0
- swift-nio-ssl1.3.2
- swift-nio-http20.1.0
Dependencies
{ "url": "/usr/src/package", "name": "nio-h2", "path": "/usr/src/package", "version": "unspecified", "identity": "package", "dependencies": [ { "url": "https://github.com/apple/swift-nio", "name": "swift-nio", "path": "/usr/src/package/.build/checkouts/swift-nio", "version": "1.11.0", "identity": "swift-nio", "dependencies": [ { "url": "https://github.com/apple/swift-nio-zlib-support.git", "name": "swift-nio-zlib-support", "path": "/usr/src/package/.build/checkouts/swift-nio-zlib-support", "version": "1.0.0", "identity": "swift-nio-zlib-support", "dependencies": [] } ] }, { "url": "https://github.com/apple/swift-nio-ssl", "name": "swift-nio-ssl", "path": "/usr/src/package/.build/checkouts/swift-nio-ssl", "version": "1.3.2", "identity": "swift-nio-ssl", "dependencies": [ { "url": "https://github.com/apple/swift-nio", "name": "swift-nio", "path": "/usr/src/package/.build/checkouts/swift-nio", "version": "1.11.0", "identity": "swift-nio", "dependencies": [ { "url": "https://github.com/apple/swift-nio-zlib-support.git", "name": "swift-nio-zlib-support", "path": "/usr/src/package/.build/checkouts/swift-nio-zlib-support", "version": "1.0.0", "identity": "swift-nio-zlib-support", "dependencies": [] } ] }, { "url": "https://github.com/apple/swift-nio-ssl-support.git", "name": "swift-nio-ssl-support", "path": "/usr/src/package/.build/checkouts/swift-nio-ssl-support", "version": "1.0.0", "identity": "swift-nio-ssl-support", "dependencies": [] } ] }, { "url": "https://github.com/apple/swift-nio-http2", "name": "swift-nio-http2", "path": "/usr/src/package/.build/checkouts/swift-nio-http2", "version": "0.1.0", "identity": "swift-nio-http2", "dependencies": [ { "url": "https://github.com/apple/swift-nio", "name": "swift-nio", "path": "/usr/src/package/.build/checkouts/swift-nio", "version": "1.11.0", "identity": "swift-nio", "dependencies": [ { "url": "https://github.com/apple/swift-nio-zlib-support.git", "name": "swift-nio-zlib-support", "path": "/usr/src/package/.build/checkouts/swift-nio-zlib-support", "version": "1.0.0", "identity": "swift-nio-zlib-support", "dependencies": [] } ] }, { "url": "https://github.com/apple/swift-nio-nghttp2-support.git", "name": "swift-nio-nghttp2-support", "path": "/usr/src/package/.build/checkouts/swift-nio-nghttp2-support", "version": "1.0.0", "identity": "swift-nio-nghttp2-support", "dependencies": [] } ] } ] }