URL

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.url

 

constructor

 

constructor

 

URL()

 

init()

constructor (string, string, Reference<Userinfo>, string, string, string, Boolean, string, string) .NET, .NET Standard 2.0

 

constructor(aScheme: string; aOpaque: string; aUser: Reference<Userinfo>; aHost: string; aPath: string; aRawPath: string; aForceQuery: Boolean; aRawQuery: string; aFragment: string)

 

URL(string aScheme, string aOpaque, Reference<Userinfo> aUser, string aHost, string aPath, string aRawPath, Boolean aForceQuery, string aRawQuery, string aFragment)

 

init(_ aScheme: string, _ aOpaque: string, _ aUser: Reference<Userinfo>, _ aHost: string, _ aPath: string, _ aRawPath: string, _ aForceQuery: Boolean, _ aRawQuery: string, _ aFragment: string)

Parameters:

  • aScheme:
  • aOpaque:
  • aUser:
  • aHost:
  • aPath:
  • aRawPath:
  • aForceQuery:
  • aRawQuery:
  • aFragment:

 

constructor(aScheme: string; aOpaque: string; aUser: Reference<Userinfo>; aHost: string; aPath: string; aRawPath: string; aForceQuery: bool; aRawQuery: string; aFragment: string)

 

URL(string aScheme, string aOpaque, Reference<Userinfo> aUser, string aHost, string aPath, string aRawPath, bool aForceQuery, string aRawQuery, string aFragment)

 

init(_ aScheme: string, _ aOpaque: string, _ aUser: Reference<Userinfo>, _ aHost: string, _ aPath: string, _ aRawPath: string, _ aForceQuery: bool, _ aRawQuery: string, _ aFragment: string)

Parameters:

  • aScheme:
  • aOpaque:
  • aUser:
  • aHost:
  • aPath:
  • aRawPath:
  • aForceQuery:
  • aRawQuery:
  • aFragment:

constructor (URL)

 

constructor(value: URL)

 

URL(URL value)

 

init(_ value: URL)

Parameters:

  • value:

EscapedPath

 

method EscapedPath: string

 

string EscapedPath()

 

func EscapedPath() -> string

 

func EscapedPath() string

ForceQuery

 

var ForceQuery: bool;

 

bool ForceQuery

 

var ForceQuery: bool

 

ForceQuery bool

Fragment

 

var Fragment: string;

 

string Fragment

 

var Fragment: string

 

Fragment string

Host

 

var Host: string;

 

string Host

 

var Host: string

 

Host string

Hostname

 

method Hostname: string

 

string Hostname()

 

func Hostname() -> string

 

func Hostname() string

IsAbs

 

method IsAbs: bool

 

bool IsAbs()

 

func IsAbs() -> bool

 

func IsAbs() bool

MarshalBinary

 

method MarshalBinary: tuple of (text: Slice<Byte>, err: error)

 

(Slice<Byte> text, error err) MarshalBinary()

 

func MarshalBinary() -> (text:Slice<Byte>, err:error)

 

func MarshalBinary() (text Slice<Byte>, err error)

Opaque

 

var Opaque: string;

 

string Opaque

 

var Opaque: string

 

Opaque string

Parse

 

// .NET, Island
method Parse(ref: string): tuple of (Reference<URL>, error)
// .NET Standard 2.0
method Parse(ref: string): ValueTuple<Reference<URL>, error>

 

// .NET, Island
(Reference<URL>, error) Parse(string ref)
// .NET Standard 2.0
ValueTuple<Reference<URL>, error> Parse(string ref)

 

// .NET, Island
func Parse(_ ref: string) -> (Reference<URL>, error)
// .NET Standard 2.0
func Parse(_ ref: string) -> ValueTuple<Reference<URL>, error>

 

// .NET, Island
func Parse(ref string) (Reference<URL>, error)
// .NET Standard 2.0
func Parse(ref string) ValueTuple<Reference<URL>, error>

Parameters:

  • ref:

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

Port

 

method Port: string

 

string Port()

 

func Port() -> string

 

func Port() string

Query

 

method Query: Values

 

Values Query()

 

func Query() -> Values

 

func Query() Values

RawPath

 

var RawPath: string;

 

string RawPath

 

var RawPath: string

 

RawPath string

RawQuery

 

var RawQuery: string;

 

string RawQuery

 

var RawQuery: string

 

RawQuery string

RequestURI

 

method RequestURI: string

 

string RequestURI()

 

func RequestURI() -> string

 

func RequestURI() string

ResolveReference

 

method ResolveReference(ref: Reference<URL>): Reference<URL>

 

Reference<URL> ResolveReference(Reference<URL> ref)

 

func ResolveReference(_ ref: Reference<URL>) -> Reference<URL>

 

func ResolveReference(ref Reference<URL>) Reference<URL>

Parameters:

  • ref:

Scheme

 

var Scheme: string;

 

string Scheme

 

var Scheme: string

 

Scheme string

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

UnmarshalBinary

 

method UnmarshalBinary(text: Slice<Byte>): error

 

error UnmarshalBinary(Slice<Byte> text)

 

func UnmarshalBinary(_ text: Slice<Byte>) -> error

 

func UnmarshalBinary(text Slice<Byte>) error

Parameters:

  • text:

User

 

var User: Reference<Userinfo>;

 

var User: Reference<Userinfo>

 

ForceQuery

 

var ForceQuery: bool;

 

bool ForceQuery

 

var ForceQuery: bool

 

ForceQuery bool

Fragment

 

var Fragment: string;

 

string Fragment

 

var Fragment: string

 

Fragment string

Host

 

var Host: string;

 

string Host

 

var Host: string

 

Host string

Opaque

 

var Opaque: string;

 

string Opaque

 

var Opaque: string

 

Opaque string

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

RawPath

 

var RawPath: string;

 

string RawPath

 

var RawPath: string

 

RawPath string

RawQuery

 

var RawQuery: string;

 

string RawQuery

 

var RawQuery: string

 

RawQuery string

Scheme

 

var Scheme: string;

 

string Scheme

 

var Scheme: string

 

Scheme string

User

 

var User: Reference<Userinfo>;

 

var User: Reference<Userinfo>

 

constructor

 

constructor

 

URL()

 

init()

constructor (string, string, Reference<Userinfo>, string, string, string, Boolean, string, string) .NET, .NET Standard 2.0

 

constructor(aScheme: string; aOpaque: string; aUser: Reference<Userinfo>; aHost: string; aPath: string; aRawPath: string; aForceQuery: Boolean; aRawQuery: string; aFragment: string)

 

URL(string aScheme, string aOpaque, Reference<Userinfo> aUser, string aHost, string aPath, string aRawPath, Boolean aForceQuery, string aRawQuery, string aFragment)

 

init(_ aScheme: string, _ aOpaque: string, _ aUser: Reference<Userinfo>, _ aHost: string, _ aPath: string, _ aRawPath: string, _ aForceQuery: Boolean, _ aRawQuery: string, _ aFragment: string)

Parameters:

  • aScheme:
  • aOpaque:
  • aUser:
  • aHost:
  • aPath:
  • aRawPath:
  • aForceQuery:
  • aRawQuery:
  • aFragment:

 

constructor(aScheme: string; aOpaque: string; aUser: Reference<Userinfo>; aHost: string; aPath: string; aRawPath: string; aForceQuery: bool; aRawQuery: string; aFragment: string)

 

URL(string aScheme, string aOpaque, Reference<Userinfo> aUser, string aHost, string aPath, string aRawPath, bool aForceQuery, string aRawQuery, string aFragment)

 

init(_ aScheme: string, _ aOpaque: string, _ aUser: Reference<Userinfo>, _ aHost: string, _ aPath: string, _ aRawPath: string, _ aForceQuery: bool, _ aRawQuery: string, _ aFragment: string)

Parameters:

  • aScheme:
  • aOpaque:
  • aUser:
  • aHost:
  • aPath:
  • aRawPath:
  • aForceQuery:
  • aRawQuery:
  • aFragment:

constructor (URL)

 

constructor(value: URL)

 

URL(URL value)

 

init(_ value: URL)

Parameters:

  • value:

EscapedPath

 

method EscapedPath: string

 

string EscapedPath()

 

func EscapedPath() -> string

 

func EscapedPath() string

Hostname

 

method Hostname: string

 

string Hostname()

 

func Hostname() -> string

 

func Hostname() string

IsAbs

 

method IsAbs: bool

 

bool IsAbs()

 

func IsAbs() -> bool

 

func IsAbs() bool

MarshalBinary

 

method MarshalBinary: tuple of (text: Slice<Byte>, err: error)

 

(Slice<Byte> text, error err) MarshalBinary()

 

func MarshalBinary() -> (text:Slice<Byte>, err:error)

 

func MarshalBinary() (text Slice<Byte>, err error)

Parse

 

// .NET, Island
method Parse(ref: string): tuple of (Reference<URL>, error)
// .NET Standard 2.0
method Parse(ref: string): ValueTuple<Reference<URL>, error>

 

// .NET, Island
(Reference<URL>, error) Parse(string ref)
// .NET Standard 2.0
ValueTuple<Reference<URL>, error> Parse(string ref)

 

// .NET, Island
func Parse(_ ref: string) -> (Reference<URL>, error)
// .NET Standard 2.0
func Parse(_ ref: string) -> ValueTuple<Reference<URL>, error>

 

// .NET, Island
func Parse(ref string) (Reference<URL>, error)
// .NET Standard 2.0
func Parse(ref string) ValueTuple<Reference<URL>, error>

Parameters:

  • ref:

Port

 

method Port: string

 

string Port()

 

func Port() -> string

 

func Port() string

Query

 

method Query: Values

 

Values Query()

 

func Query() -> Values

 

func Query() Values

RequestURI

 

method RequestURI: string

 

string RequestURI()

 

func RequestURI() -> string

 

func RequestURI() string

ResolveReference

 

method ResolveReference(ref: Reference<URL>): Reference<URL>

 

Reference<URL> ResolveReference(Reference<URL> ref)

 

func ResolveReference(_ ref: Reference<URL>) -> Reference<URL>

 

func ResolveReference(ref Reference<URL>) Reference<URL>

Parameters:

  • ref:

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

UnmarshalBinary

 

method UnmarshalBinary(text: Slice<Byte>): error

 

error UnmarshalBinary(Slice<Byte> text)

 

func UnmarshalBinary(_ text: Slice<Byte>) -> error

 

func UnmarshalBinary(text Slice<Byte>) error

Parameters:

  • text: