Latest 0.0.2
Homepage https://github.com/hellowebi/WBNetSupport
License MIT
Platforms ios 9.0
Authors

import Alamofire
import WBNetSupport

let headers: HTTPHeaders = WBHTTPHeaders.shared.header(wuid: "user11111111111", user_event: "testEvent0001")
print(headers)

Alamofire.request("http://t.weather.sojson.com/api/weather/city/101030100", method: .get, parameters: nil, headers: headers).responseJSON { (response) in
if let JSON = response.result.value {
print("JSON: (JSON)")
}
}

Latest podspec

{
    "name": "WBNetSupport",
    "version": "0.0.2",
    "summary": "u5728u7f51u7edcu8bf7u6c42u5934u4e2du643au5e26u4fe1u606f",
    "description": ""u6dfbu52a0u4e00u4e2au5de5u5177u7c7b,u7528u6237u53efu4ee5u901au8fc7u81eau5b9au4e49u7c7bu65b9u4fbfu7684u83b7u53d6u81eau5b9au4e49headeru5185u5bb9"",
    "homepage": "https://github.com/hellowebi/WBNetSupport",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "hellowebi": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/hellowebi/WBNetSupport.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Base",
        "Classes/**/*.{h,m}",
        "Category"
    ],
    "exclude_files": "Classes/Exclude",
    "swift_version": "4.2.1"
}

Pin It on Pinterest

Share This