SwiftHTTP icon indicating copy to clipboard operation
SwiftHTTP copied to clipboard

Thin wrapper around NSURLSession in swift. Simplifies HTTP requests.

Results 23 SwiftHTTP issues
Sort by recently updated
recently updated
newest added

Hi, I have to implement Cert Pinning in my application. I saved my certificate in my bundle, but `certificateChainForTrust` or `publicKeyChainForTrust` returns 3 values. Library expects `trustedCount == 3` to...

Hi, I tried implementing the SSL Pinning configuring the DER certification into the bundle. I'm getting an error load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask ., NSLocalizedDescription=cancelled} [-999]...

What's the problem? Trying to load a self signed certificate like so: ``` if let certPath = Bundle.module.url(forResource: "theCert", withExtension: "cer") { let certData = try! Data(contentsOf: certPath) let cert...

**What is expected** Crashes should not happen **Describe the bug** The crash occurs infrequently when either a new HTTP request is created or handle a finishing task. From my observation,...

The add, remove and get operation on taskMap dictionary is thread-unsafe which is leading to crashes. The fix resolves the issue.

This fleshes out the package file with things needed to be able to run `swift build` and `swift test`. Tests were made compilable or removed where the tested functionality didn't...

The provided `Package.swift` file is insufficient for consuming SwiftHTTP as a Swift package in another project. It doesn't include the minimum Swift tools version and defines no build products.

Hello guys I hope all is well with you. I have a question, how can I set a timeout for the swift http requests? Thanks in advance

Its better to have array indexes in query parameter names, such as: `swifthttp.com?array[0]=value1&array[1]=value2` It fixes an issue when a GET request contains nested arrays, like the one below: ```Swift let...

OperationQueue has better task management than HTTPQueue.