Structure
URI.Scheme
A URI scheme, as defined by RFC 3986 § 3.1 and [RFC 7595].
struct Scheme
Topics
Initializers
init(_:)Designated initializer.init(from:)Creates a new instance by decoding from the given decoder.init(stringLiteral:)Creates an instance initialized to the given string value.
Instance Properties
descriptionA textual representation of this instance.valueThe string representation of the scheme.
Type Properties
httpHyperText Transfer Protocol (HTTP)httpUnixDomainSocketHyperText Transfer Protocol (HTTP) over Unix Domain Sockets.httpsSecure HyperText Transfer Protocol (HTTPS)httpsUnixDomainSocketSecure HyperText Transfer Protocol (HTTPS) over Unix Domain Sockets.
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringInterpolationSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype