Update for Swift 5.1 (#16) update Swift version on CI update tests
Update for Swift 5.1 (#16)
libcurl based HTTP(S) Client for Swift.
SeeURL
Package.swift
import PackageDescription let package = Package( dependencies: [ .Package(url: "https://github.com/shiroyagicorp/swift-seeurl.git", from: "1.9.0") ] )
Swift 5.0 or later on Linux, you might need to install libcurl by apt-get install libcurl4-openssl-dev.
apt-get install libcurl4-openssl-dev
import SeeURL let result = try HTTPClient.sendRequest(method: "GET", url: "https://google.com") print(result.statusCode, result.body)
MIT
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
SeeURL
libcurl based HTTP(S) Client for Swift.
Installation
SeeURL
toPackage.swift
of your project.Swift 5.0 or later on Linux, you might need to install libcurl by
apt-get install libcurl4-openssl-dev
.Usage
LICENSE
MIT
Acknowledgement