[#boost-urls-scheme] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::scheme :relfileprefix: ../../ :mrdocs: Identifies a known URL scheme == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/scheme.hpp#L33[boost/url/scheme.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class scheme : unsigned short; ---- == Members [,cols=2] |=== | Name | Description |`none` |Indicates that no scheme is present |`unknown` |Indicates the scheme is not a well‐known scheme |`ftp` |File Transfer Protocol (FTP) |`file` |File URI Scheme |`http` |The Hypertext Transfer Protocol URI Scheme |`https` |The Secure Hypertext Transfer Protocol URI Scheme |`ws` |The WebSocket URI Scheme |`wss` |The Secure WebSocket URI Scheme |=== == Non-Member Functions [,cols=2] |=== | Name | Description | xref:boost/urls/default_port.adoc[`default_port`] | Return the default port for a known scheme | xref:boost/urls/string_to_scheme.adoc[`string_to_scheme`] | Return the known scheme for a non‐normalized string, if known | xref:boost/urls/to_string.adoc[`to_string`] | Return the normalized string for a known scheme |=== == Description == Specification * https://datatracker.ietf.org/doc/html/rfc3986#section-3.1[] [.small]#Created with https://www.mrdocs.com[MrDocs]#