host
The host component of a URL if the URL conforms to RFC 3986; otherwise, nil.
Declaration
var host: String? { get }Discussion
New code should use host(percentEncoded:) instead of this property.
The host component of a URL if the URL conforms to RFC 3986; otherwise, nil.
var host: String? { get }New code should use host(percentEncoded:) instead of this property.