TestConnectionManager is a simple HTTP client for Swift.
var testConnectionManager = TestConnectionManager()
testConnectionManager.get("https://it.wikipedia.org/wiki/Hypertext_Transfer_Protocol", callback: {err, response, body in
if( err == nil ) {
print(body)
}
})
To run the example project, clone the repo, and run pod install
from the Example directory first.
TestConnectionManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'TestConnectionManager'
DalterioRaffaele, [email protected]
TestConnectionManager is available under the MIT license. See the LICENSE file for more info.