Scheme(String)

package haxe.io

from String to String

Available on all platforms

A scheme consists of a sequence of characters beginning with a letter and followed by any combination of letters, digits, plus (+, period (.), or hyphen (-).

Although schemes are case-insensitive, the canonical form is lowercase and documents that specify schemes must do so with lowercase letters. It is followed by a colon (:).

Variables

inlineread onlyData:Scheme = "data"

inlineread onlyFile:Scheme = "file"

inlineread onlyFtp:Scheme = "ftp"

inlineread onlyHttp:Scheme = "http"

inlineread onlyHttps:Scheme = "https"

inlineread onlyMailTo:Scheme = "mailto"

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/io/Scheme.html