Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net.url
- Platforms: .NET, .NET Standard 2.0, Island
Methods
Parse
class method Parse(rawurl: string): tuple of (Memory<URL>, error)
static (Memory<URL>, error) Parse(string rawurl)
static func Parse(_ rawurl: string) -> tuple of (Memory<URL>, error)
func Parse(rawurl string) tuple of (Memory<URL>, error)
Shared Function Parse(rawurl As string) As Tuple (Of Memory<URL>, error)
Parameters:
- rawurl:
ParseQuery
class method ParseQuery(query: string): tuple of (Values, error)
static (Values, error) ParseQuery(string query)
static func ParseQuery(_ query: string) -> tuple of (Values, error)
func ParseQuery(query string) tuple of (Values, error)
Shared Function ParseQuery(query As string) As Tuple (Of Values, error)
Parameters:
- query:
ParseRequestURI
class method ParseRequestURI(rawurl: string): tuple of (Memory<URL>, error)
static (Memory<URL>, error) ParseRequestURI(string rawurl)
static func ParseRequestURI(_ rawurl: string) -> tuple of (Memory<URL>, error)
func ParseRequestURI(rawurl string) tuple of (Memory<URL>, error)
Shared Function ParseRequestURI(rawurl As string) As Tuple (Of Memory<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
Shared Function PathEscape(s As string) As string
Parameters:
- s:
PathUnescape
class method PathUnescape(s: string): tuple of (string, error)
static (string, error) PathUnescape(string s)
static func PathUnescape(_ s: string) -> tuple of (string, error)
func PathUnescape(s string) tuple of (string, error)
Shared Function PathUnescape(s As string) As Tuple (Of 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
Shared Function QueryEscape(s As string) As string
Parameters:
- s:
QueryUnescape
class method QueryUnescape(s: string): tuple of (string, error)
static (string, error) QueryUnescape(string s)
static func QueryUnescape(_ s: string) -> tuple of (string, error)
func QueryUnescape(s string) tuple of (string, error)
Shared Function QueryUnescape(s As string) As Tuple (Of string, error)
Parameters:
- s:
User
class method User(username: string): Memory<Userinfo>
static Memory<Userinfo> User(string username)
static func User(_ username: string) -> Memory<Userinfo>
func User(username string) Memory<Userinfo>
Shared Function User(username As string) As Memory<Userinfo>
Parameters:
- username:
UserPassword
class method UserPassword(username: string; password: string): Memory<Userinfo>
static Memory<Userinfo> UserPassword(string username, string password)
static func UserPassword(_ username: string, _ password: string) -> Memory<Userinfo>
func UserPassword(username string, password string) Memory<Userinfo>
Shared Function UserPassword(username As string, password As string) As Memory<Userinfo>
Parameters:
- username:
- password: