Skip to content

Structure

URI.Scheme

A URI scheme, as defined by RFC 3986 § 3.1 and [RFC 7595].
struct Scheme

Topics

Initializers

Instance Properties

  • description
    A textual representation of this instance.
  • value
    The string representation of the scheme.

Type Properties

  • http
    HyperText Transfer Protocol (HTTP)
  • httpUnixDomainSocket
    HyperText Transfer Protocol (HTTP) over Unix Domain Sockets.
  • https
    Secure HyperText Transfer Protocol (HTTPS)
  • httpsUnixDomainSocket
    Secure HyperText Transfer Protocol (HTTPS) over Unix Domain Sockets.

Relationships

Conforms To

  • Swift.CustomStringConvertible
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.ExpressibleByExtendedGraphemeClusterLiteral
  • Swift.ExpressibleByStringInterpolation
  • Swift.ExpressibleByStringLiteral
  • Swift.ExpressibleByUnicodeScalarLiteral
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype