URL

Overview

Location

  • Reference: Go.fx
  • Namespace: go.net.url
  • Platforms: Island

 

constructor

 

constructor

 

URL()

 

init()

 

Sub New()

 

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)

 

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

Parameters:

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

constructor (URL)

 

constructor(value: URL)

 

URL(URL value)

 

init(_ value: URL)

 

Sub New(value As URL)

Parameters:

  • value:

EscapedPath

 

method EscapedPath: string

 

string EscapedPath()

 

func EscapedPath() -> string

 

func EscapedPath() string

 

Function EscapedPath() As string

ForceQuery

 

var ForceQuery: bool;

 

bool ForceQuery

 

var ForceQuery: bool

 

ForceQuery bool

 

FIELD ForceQuery() As bool

Fragment

 

var Fragment: string;

 

string Fragment

 

var Fragment: string

 

Fragment string

 

FIELD Fragment() As string

Host

 

var Host: string;

 

string Host

 

var Host: string

 

Host string

 

FIELD Host() As string

Hostname

 

method Hostname: string

 

string Hostname()

 

func Hostname() -> string

 

func Hostname() string

 

Function Hostname() As string

IsAbs

 

method IsAbs: bool

 

bool IsAbs()

 

func IsAbs() -> bool

 

func IsAbs() bool

 

Function IsAbs() As bool

MarshalBinary

 

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

 

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

 

func MarshalBinary() -> (Slice<Byte>, error)

 

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

 

Function MarshalBinary() As Tuple (Of Slice<Byte>, error)

Opaque

 

var Opaque: string;

 

string Opaque

 

var Opaque: string

 

Opaque string

 

FIELD Opaque() As string

Parse

 

method Parse(ref: string): tuple of (URL, error)

 

(URL, error) Parse(string ref)

 

func Parse(_ ref: string) -> (URL, error)

 

func Parse(ref string) (URL, error)

 

Function Parse(ref As string) As Tuple (Of URL, error)

Parameters:

  • ref:

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

 

FIELD Path() As string

Port

 

method Port: string

 

string Port()

 

func Port() -> string

 

func Port() string

 

Function Port() As string

Query

 

method Query: Values

 

Values Query()

 

func Query() -> Values

 

func Query() Values

 

Function Query() As Values

RawPath

 

var RawPath: string;

 

string RawPath

 

var RawPath: string

 

RawPath string

 

FIELD RawPath() As string

RawQuery

 

var RawQuery: string;

 

string RawQuery

 

var RawQuery: string

 

RawQuery string

 

FIELD RawQuery() As string

RequestURI

 

method RequestURI: string

 

string RequestURI()

 

func RequestURI() -> string

 

func RequestURI() string

 

Function RequestURI() As 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>

 

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

Parameters:

  • ref:

Scheme

 

var Scheme: string;

 

string Scheme

 

var Scheme: string

 

Scheme string

 

FIELD Scheme() As string

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As 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

 

Function UnmarshalBinary(text As Slice<Byte>) As error

Parameters:

  • text:

User

 

var User: Reference<Userinfo>;

 

Reference<Userinfo> User

 

var User: Reference<Userinfo>

 

User Reference<Userinfo>

 

FIELD User() As Reference<Userinfo>

 

ForceQuery

 

var ForceQuery: bool;

 

bool ForceQuery

 

var ForceQuery: bool

 

ForceQuery bool

 

FIELD ForceQuery() As bool

Fragment

 

var Fragment: string;

 

string Fragment

 

var Fragment: string

 

Fragment string

 

FIELD Fragment() As string

Host

 

var Host: string;

 

string Host

 

var Host: string

 

Host string

 

FIELD Host() As string

Opaque

 

var Opaque: string;

 

string Opaque

 

var Opaque: string

 

Opaque string

 

FIELD Opaque() As string

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

 

FIELD Path() As string

RawPath

 

var RawPath: string;

 

string RawPath

 

var RawPath: string

 

RawPath string

 

FIELD RawPath() As string

RawQuery

 

var RawQuery: string;

 

string RawQuery

 

var RawQuery: string

 

RawQuery string

 

FIELD RawQuery() As string

Scheme

 

var Scheme: string;

 

string Scheme

 

var Scheme: string

 

Scheme string

 

FIELD Scheme() As string

User

 

var User: Reference<Userinfo>;

 

Reference<Userinfo> User

 

var User: Reference<Userinfo>

 

User Reference<Userinfo>

 

FIELD User() As Reference<Userinfo>

 

constructor

 

constructor

 

URL()

 

init()

 

Sub New()

 

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)

 

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

Parameters:

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

constructor (URL)

 

constructor(value: URL)

 

URL(URL value)

 

init(_ value: URL)

 

Sub New(value As URL)

Parameters:

  • value:

EscapedPath

 

method EscapedPath: string

 

string EscapedPath()

 

func EscapedPath() -> string

 

func EscapedPath() string

 

Function EscapedPath() As string

Hostname

 

method Hostname: string

 

string Hostname()

 

func Hostname() -> string

 

func Hostname() string

 

Function Hostname() As string

IsAbs

 

method IsAbs: bool

 

bool IsAbs()

 

func IsAbs() -> bool

 

func IsAbs() bool

 

Function IsAbs() As bool

MarshalBinary

 

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

 

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

 

func MarshalBinary() -> (Slice<Byte>, error)

 

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

 

Function MarshalBinary() As Tuple (Of Slice<Byte>, error)

Parse

 

method Parse(ref: string): tuple of (URL, error)

 

(URL, error) Parse(string ref)

 

func Parse(_ ref: string) -> (URL, error)

 

func Parse(ref string) (URL, error)

 

Function Parse(ref As string) As Tuple (Of URL, error)

Parameters:

  • ref:

Port

 

method Port: string

 

string Port()

 

func Port() -> string

 

func Port() string

 

Function Port() As string

Query

 

method Query: Values

 

Values Query()

 

func Query() -> Values

 

func Query() Values

 

Function Query() As Values

RequestURI

 

method RequestURI: string

 

string RequestURI()

 

func RequestURI() -> string

 

func RequestURI() string

 

Function RequestURI() As 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>

 

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

Parameters:

  • ref:

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As 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

 

Function UnmarshalBinary(text As Slice<Byte>) As error

Parameters:

  • text: