W3cubDocs

/Haxe C#

Uri

package cs.system

implements ISerializable

@:libType@:csNative@:native("System.Uri") Available on cs

Constructor

@:final @:overload new (uriString:String)

@:final @:overload new (baseUri:Uri, relativeUri:String, dontEscape:Bool)

@:final @:overload new (baseUri:Uri, relativeUri:String)

@:final @:overload new (uriString:String, dontEscape:Bool)

@:final @:overload new (baseUri:Uri, relativeUri:Uri)

@:final @:overload new (uriString:String, uriKind:UriKind)

private @:final @:overload new (serializationInfo:SerializationInfo, streamingContext:StreamingContext)

Variables

read only AbsolutePath:String

read only AbsoluteUri:String

read only Authority:String

read only DnsSafeHost:String

read only Fragment:String

read only Host:String

read only HostNameType:UriHostNameType

read only IsAbsoluteUri:Bool

read only IsDefaultPort:Bool

read only IsFile:Bool

read only IsLoopback:Bool

read only IsUnc:Bool

read only LocalPath:String

read only OriginalString:String

read only PathAndQuery:String

read only Port:Int

read only Query:String

read only Scheme:String

read only Segments:NativeArray<String>

read only UserEscaped:Bool

read only UserInfo:String

Methods

@:final @:overload GetComponents (components:UriComponents, format:UriFormat):String

@:final @:overload GetLeftPart (part:UriPartial):String

@:noCompletion @:skipReflection @:final @:overload GetObjectData (info:SerializationInfo, context:StreamingContext):Void

@:final @:overload IsBaseOf (uri:Uri):Bool

@:final @:overload IsWellFormedOriginalString ():Bool

@:final @:overload MakeRelative (toUri:Uri):String

@:final @:overload MakeRelativeUri (uri:Uri):Uri

@:overload ToString ():String

Static variables

@:readOnly static read only SchemeDelimiter:String

@:readOnly static read only UriSchemeFile:String

@:readOnly static read only UriSchemeFtp:String

@:readOnly static read only UriSchemeGopher:String

@:readOnly static read only UriSchemeHttp:String

@:readOnly static read only UriSchemeHttps:String

@:readOnly static read only UriSchemeMailto:String

@:readOnly static read only UriSchemeNetPipe:String

@:readOnly static read only UriSchemeNetTcp:String

@:readOnly static read only UriSchemeNews:String

@:readOnly static read only UriSchemeNntp:String

Static methods

@:final @:overload static CheckHostName (name:String):UriHostNameType

@:final @:overload static CheckSchemeName (schemeName:String):Bool

@:final @:overload static Compare (uri1:Uri, uri2:Uri, partsToCompare:UriComponents, compareFormat:UriFormat, comparisonType:StringComparison):Int

@:final @:overload static EscapeDataString (stringToEscape:String):String

@:final @:overload static EscapeUriString (stringToEscape:String):String

@:final @:overload static FromHex (digit:Char16):Int

@:final @:overload static HexEscape (character:Char16):String

@:final @:overload static HexUnescape (pattern:String, index:Ref<Int>):Char16

@:final @:overload static IsHexDigit (digit:Char16):Bool

@:final @:overload static IsHexEncoding (pattern:String, index:Int):Bool

@:final @:overload static IsWellFormedUriString (uriString:String, uriKind:UriKind):Bool

@:final @:overload static TryCreate (uriString:String, uriKind:UriKind, result:Out<Uri>):Bool

@:final @:overload static TryCreate (baseUri:Uri, relativeUri:Uri, result:Out<Uri>):Bool

@:final @:overload static TryCreate (baseUri:Uri, relativeUri:String, result:Out<Uri>):Bool

@:final @:overload static UnescapeDataString (stringToUnescape:String):String

@:final @:overload static op_Equality (u1:Uri, u2:Uri):Bool

@:final @:overload static op_Inequality (u1:Uri, u2:Uri):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Uri.html