Swiftpack.co - Package - shiroyagicorp/swift-seeurl

SeeURL

Swift Platforms License CircleCI

libcurl based HTTP(S) Client for Swift.

Installation

  • Add SeeURL to Package.swift of your project.
import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/shiroyagicorp/swift-seeurl.git", from: "1.9.0")
    ]
)

Usage

import SeeURL
let result = try HTTPClient.sendRequest(method: "GET", url: "https://google.com")
print(result.statusCode, result.body)

LICENSE

MIT

Acknowledgement

Github

link
Stars: 4
Help us keep the lights on

Dependencies

Used By

Total: 0