Networking icon indicating copy to clipboard operation
Networking copied to clipboard

⚡️ Concise networking code leveraging async-await, Decodable & Generics.

Results 6 Networking issues
Sort by recently updated
recently updated
newest added

Added the "extension Encodable" in NetworkingService.swift, and change "public typealias Params = [String: Any]". See README (Design a clean api) for how to use.

something like this: ```swift func post(params: T) { ... } ```

- Adds support for `Encodable` body. - Renames POST, PUT, PATCH `params` to `body` and make parameter encoding explicit (`urlEncoded`, `json`, .multipart`) - Simplify multipart usage via same`body` param. -...

I'd like to be able to be able to get the API response code returned from calls (post, get, put, ...). This would allow me to use the response code...

When building GET addresses, double decoding takes place, which is an error, so I used the extension method, you can also add an example of how to decode only single...

I want to try this library in my next project,all of request api in many apps need some common parameters,what is the best way inject the common parameters?