Open mrtksn opened 4 years ago
Which version of HTTP did you pull in? It looks like this library is deprecated so interested to know what you're doing with it?
The version is 3.3.2
Is this library really deprecated? I was looking to use it as a simple HTTP library instaed of something like Alamofire.
BTW I had the same issue with websocket-kit library, that one also would not be possible to import.
What platform are you trying to make this work on? Theoretically it should work, but it might be a SwiftPM/Xcode issue.
In terms of being deprecated - Vapor 3 will still work and have it's maintenance period but this library is no longer used in Vapor 4 from the looks of it
Hi, I wanted to use it as a standalone package however XCode complains that cannot import HTTP.
I followed these steps:
1) Create a new iOS project with SwiftUI in XCode 11.3 2) File->Package->Add Package Dependency->complete adding the package using the default settings
The package looks installed alongside with its dependencies which are "Core, swift-nio-ssl-support, swift-nio-zlib-support, SwiftNIO, SwiftNIO SSL"
When I try to import HTTP like this
import HTTP
XCode would complain
No such module 'HTTP'
I tried to install other 3.rd party packages to be sure that it's not an issue with XCode and other packages were successfully installed and were usable.