Latest 0.0.1
Homepage https://github.com/lianleven/LYHTTPClient
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking, YYCache
Authors

最近很多人问一些基于AFNetworking3.0网络请求的封装,其实不用真的不用封装,唯一需要封装的地方就是客户端做缓存,统一把所有请求做了缓存接口。缓存用的是YYCache。基于AFNetworking的demo

添加了设置超时时间。可以自由设置超时时间和缓存方式

Latest podspec

{
    "name": "LYHTTPClient",
    "version": "0.0.1",
    "summary": "u57fau4e8eAFNetworking3.0uff0cu5b9eu73b0u7b80u5355u7684u7f13u5b58",
    "homepage": "https://github.com/lianleven/LYHTTPClient",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "lianleven": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/lianleven/LYHTTPClient.git",
        "tag": "0.0.1"
    },
    "source_files": "LYHTTPClient/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 3.1.0"
        ],
        "YYCache": []
    }
}

Pin It on Pinterest

Share This