AkaNet is an advanced iOS networking library built on top of Moya, offering extended features and enhancements for network communication in iOS applications.
- Request Prioritization: Prioritize network requests based on urgency or importance.
- Cache Pooling: Efficient management of network response caches with a pooling mechanism.
- Multiple Cache Strategies: Support for various caching strategies to optimize data retrieval and storage.
- Streaming Support: Seamless handling of large data streams for improved performance.
- Persistent Connections: Maintain long-lived connections to enhance network efficiency.
To integrate AkaNet into your Xcode project using CocoaPods, add the following line to your Podfile
:
pod 'AkaNet'
Then, run the following command:
$ pod install
-
Initialization:
import AkaNet
-
Creating Requests:
AkaNetworkService.POST(address: "/weaver/api/v1/conversation/go_on_reply", params: params) { data in if let response = GoOnReplyResp.deserialize(from: data) { completion(response) } }
For more detailed usage instructions and examples, please refer to the Documentation.
Contributions are welcome! Feel free to open an issue or submit a pull request for any improvements or feature requests.
AkaNet is released under the MIT license. See LICENSE for more information.