Instance Propertyswift-package-manager 6.0.3Basics
url
HTTPClientRequest.swift:17let url: URL
let url: URL
s6Basics17HTTPClientRequestV3url20FoundationEssentials3URLVvp
What are these?8FYR4
import Basics
struct HTTPClientRequest
struct URL
A URL is a type that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.
init(kind: Kind, url: URL, headers: HTTPClientHeaders = .init(), body: Data? = nil, options: Options = .init())
init(method: HTTPMethod = .get, url: URL, headers: HTTPClientHeaders = .init(), body: Data? = nil, options: Options = .init())
static func download(url: URL, headers: HTTPClientHeaders = .init(), options: Options = .init(), fileSystem: FileSystem, destination: AbsolutePath) -> HTTPClientRequest
var body: Data?
var headers: HTTPClientHeaders
let kind: Kind
var method: HTTPMethod { get }
var options: Options
enum Kind
struct Options