HPNetwork Documentation Beta

Structure URLBuilder

public struct URLBuilder 

Initializers

init(scheme:​host:​)

public init(scheme: String = "https", host: String) 

Methods

adding​Path​Component(_:​)

public func addingPathComponent(_ component: String?) -> URLBuilder 

adding​Query​Item(_:​digits:​name:​)

public func addingQueryItem(_ item: Double?, digits: Int, name: String) -> URLBuilder 

adding​Query​Item(_:​name:​)

public func addingQueryItem(_ item: Int?, name: String) -> URLBuilder 

adding​Query​Item(_:​name:​)

public func addingQueryItem(_ items: [QueryStringConvertible?]?, name: String) -> URLBuilder 

adding​Query​Item(_:​name:​)

public func addingQueryItem(_ item: QueryStringConvertible?, name: String) -> URLBuilder 

build()

public func build() -> URL?