blinkerrt / LYNetwork

LYNetwork is a high level request util based on Alamofire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LYNetwork

LYNetwork

build status License MIT Pod version Platform

LYNetwork is a high level request util based on Alamofire.

Features

  • Support common base URL and CDN URL
  • Validate JSON response
  • Support closure and delegate callback for request
  • Batch requests (see LYBatchRequest)
  • Chain requests (see LYChainRequest)
  • URL filter, replace part of URL, or append common parameter 
  • Response can be cached by expiration time
  • Response can be cached by version number
  • Support Upload and download task
  • Support Authentication

Installation

Cocoapods

    pod 'LYNetwork'

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate LYNetwork into your project manually.

Usage

Requirements

LYNetwork Version Alamofire Version Swift Version Minimum iOS Target Note
0.x 4.3.x & below swift 3.0 iOS 8 Xcode 8+ is required.

LYNetwork is based on Alamofire. You can find more detail about version compability at Alamofire.

Acknowledgements

Thanks for their great work.

License

YTKNetwork is available under the MIT license. See the LICENSE file for more info.

About

LYNetwork is a high level request util based on Alamofire

License:MIT License


Languages

Language:Swift 98.8%Language:Ruby 0.8%Language:Objective-C 0.5%