Global

Location

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

Methods


Parse

 

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

 

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

 

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

 

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

Parameters:

  • rawurl:

ParseQuery

 

// .NET, Island
class method ParseQuery(query: string): tuple of (Values, error)
// .NET Standard 2.0
class method ParseQuery(query: string): ValueTuple<Values, error>

 

// .NET, Island
static (Values, error) ParseQuery(string query)
// .NET Standard 2.0
static ValueTuple<Values, error> ParseQuery(string query)

 

// .NET, Island
static func ParseQuery(_ query: string) -> (Values, error)
// .NET Standard 2.0
static func ParseQuery(_ query: string) -> ValueTuple<Values, error>

 

// .NET, Island
func ParseQuery(query string) (Values, error)
// .NET Standard 2.0
func ParseQuery(query string) ValueTuple<Values, error>

Parameters:

  • query:

ParseRequestURI

 

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

 

// .NET, Island
static (Reference<URL>, error) ParseRequestURI(string rawurl)
// .NET Standard 2.0
static ValueTuple<Reference<URL>, error> ParseRequestURI(string rawurl)

 

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

 

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

Parameters:

  • rawurl:

PathEscape

 

class method PathEscape(s: string): string

 

static string PathEscape(string s)

 

static func PathEscape(_ s: string) -> string

 

func PathEscape(s string) string

Parameters:

  • s:

PathUnescape

 

// .NET, Island
class method PathUnescape(s: string): tuple of (string, error)
// .NET Standard 2.0
class method PathUnescape(s: string): ValueTuple<string, error>

 

// .NET, Island
static (string, error) PathUnescape(string s)
// .NET Standard 2.0
static ValueTuple<string, error> PathUnescape(string s)

 

// .NET, Island
static func PathUnescape(_ s: string) -> (string, error)
// .NET Standard 2.0
static func PathUnescape(_ s: string) -> ValueTuple<string, error>

 

// .NET, Island
func PathUnescape(s string) (string, error)
// .NET Standard 2.0
func PathUnescape(s string) ValueTuple<string, error>

Parameters:

  • s:

QueryEscape

 

class method QueryEscape(s: string): string

 

static string QueryEscape(string s)

 

static func QueryEscape(_ s: string) -> string

 

func QueryEscape(s string) string

Parameters:

  • s:

QueryUnescape

 

// .NET, Island
class method QueryUnescape(s: string): tuple of (string, error)
// .NET Standard 2.0
class method QueryUnescape(s: string): ValueTuple<string, error>

 

// .NET, Island
static (string, error) QueryUnescape(string s)
// .NET Standard 2.0
static ValueTuple<string, error> QueryUnescape(string s)

 

// .NET, Island
static func QueryUnescape(_ s: string) -> (string, error)
// .NET Standard 2.0
static func QueryUnescape(_ s: string) -> ValueTuple<string, error>

 

// .NET, Island
func QueryUnescape(s string) (string, error)
// .NET Standard 2.0
func QueryUnescape(s string) ValueTuple<string, error>

Parameters:

  • s:

User

 

class method User(username: string): Reference<Userinfo>

 

static Reference<Userinfo> User(string username)

 

static func User(_ username: string) -> Reference<Userinfo>

 

func User(username string) Reference<Userinfo>

Parameters:

  • username:

UserPassword

 

class method UserPassword(username: string; password: string): Reference<Userinfo>

 

static Reference<Userinfo> UserPassword(string username, string password)

 

static func UserPassword(_ username: string, _ password: string) -> Reference<Userinfo>

 

func UserPassword(username string, password string) Reference<Userinfo>

Parameters:

  • username:
  • password: