Structure
URI.Scheme
A URI scheme, as defined by RFC 3986 § 3.1 and [RFC 7595].
struct Scheme
Topics
Initializers
init(String?)Designated initializer.init(from: any Decoder) throwsinit(stringLiteral: String)
Instance Properties
var description: Stringlet value: String?The string representation of the scheme.
Type Properties
static let http: `Self`HyperText Transfer Protocol (HTTP)static let httpUnixDomainSocket: `Self`HyperText Transfer Protocol (HTTP) over Unix Domain Sockets.static let https: `Self`Secure HyperText Transfer Protocol (HTTPS)static let httpsUnixDomainSocket: `Self`Secure HyperText Transfer Protocol (HTTPS) over Unix Domain Sockets.
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype