Latest 0.1.4
Homepage https://github.com/StoneStoneStoneWang/WLReqKit
License MIT
Platforms ios 9.0
Frameworks UIKit, Foundation
Authors

原方式的请求

func onSendReq(_ req: T,success: @escaping (T.Resp) -> (),failure: @escaping (Error) -> ())

rx方式的请求

func onSendReq(_ req: T) -> Observable<Any?>

Latest podspec

{
    "name": "WLReqKit",
    "version": "0.1.4",
    "summary": "A Lib For req.",
    "description": "u9762u5411u534fu8baeu7684Alamofireu3001RxSwiftu5c01u88c5",
    "homepage": "https://github.com/StoneStoneStoneWang/WLReqKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "StoneStoneStoneWang": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_versions": "5.0",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "source": {
        "git": "https://github.com/StoneStoneStoneWang/WLReqKit.git",
        "tag": "0.1.4"
    },
    "source_files": "Code/**/*.{swift}",
    "pod_target_xcconfig": {
        "DEFINES_MODULE": "YES"
    },
    "static_framework": true,
    "subspecs": [
        {
            "name": "RXReq",
            "source_files": "Code/RXReq/*.{swift}",
            "dependencies": {
                "Alamofire": []
            }
        },
        {
            "name": "Error",
            "source_files": "Code/Error/*.{swift}",
            "dependencies": {
                "Alamofire": [],
                "ObjectMapper": []
            }
        },
        {
            "name": "Func",
            "source_files": "Code/Func/*.{swift}",
            "dependencies": {
                "Alamofire": [],
                "RxSwift": [],
                "WLReqKit/RXReq": [],
                "WLReqKit/Error": [],
                "WLToolsKit/Image": []
            }
        }
    ]
}

Pin It on Pinterest

Share This