Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/uri
UriAuthority
Class UriAuthority
Hierarchy
UriAuthority
Implements
HashCode
Compare
Debug
Display
Index
Constructors
constructor
Properties
hash
Value
host
port
string
Value
user
Accessors
host
Address
hostIPv4
hostIPv6
host
Name
host
Part
password
port
Number
port
Part
user
Part
username
Methods
compare
To
copy
debug
display
equals
hash
Code
is
Defined
to
Any
to
String
with
Host
with
HostIPv4
with
HostIPv6
with
Host
Name
with
Host
Part
with
Password
with
Port
with
Port
Number
with
Port
Part
with
User
with
User
Part
with
Username
create
from
Any
from
Init
host
hostIPv4
hostIPv6
host
Name
host
Part
parse
password
port
port
Number
port
Part
undefined
user
user
Part
username
Constructors
constructor
new
Uri
Authority
(
user
:
UriUser
, host
:
UriHost
, port
:
UriPort
)
:
UriAuthority
Parameters
user:
UriUser
host:
UriHost
port:
UriPort
Returns
UriAuthority
Properties
Readonly
hash
Value
hash
Value
:
undefined
|
number
Readonly
host
host
:
UriHost
Readonly
port
port
:
UriPort
Readonly
string
Value
string
Value
:
undefined
|
string
Readonly
user
user
:
UriUser
Accessors
host
Address
get
hostAddress
(
)
:
string
Returns
string
hostIPv4
get
hostIPv4
(
)
:
undefined
|
string
Returns
undefined
|
string
hostIPv6
get
hostIPv6
(
)
:
undefined
|
string
Returns
undefined
|
string
host
Name
get
hostName
(
)
:
undefined
|
string
Returns
undefined
|
string
host
Part
get
hostPart
(
)
:
string
Returns
string
password
get
password
(
)
:
undefined
|
string
Returns
undefined
|
string
port
Number
get
portNumber
(
)
:
number
Returns
number
port
Part
get
portPart
(
)
:
string
Returns
string
user
Part
get
userPart
(
)
:
string
Returns
string
username
get
username
(
)
:
undefined
|
string
Returns
undefined
|
string
Methods
compare
To
compare
To
(
that
:
unknown
)
:
number
Parameters
that:
unknown
Returns
number
Protected
copy
copy
(
user
:
UriUser
, host
:
UriHost
, port
:
UriPort
)
:
UriAuthority
Parameters
user:
UriUser
host:
UriHost
port:
UriPort
Returns
UriAuthority
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
display
display
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
to
Any
to
Any
(
authority
?:
{
host
?:
string
;
password
?:
string
;
port
?:
number
;
username
?:
string
}
)
:
undefined
|
{
host
?:
string
;
password
?:
string
;
port
?:
number
;
username
?:
string
}
Parameters
Optional
authority:
{
host
?:
string
;
password
?:
string
;
port
?:
number
;
username
?:
string
}
Optional
host
?:
string
Optional
password
?:
string
Optional
port
?:
number
Optional
username
?:
string
Returns
undefined
|
{
host
?:
string
;
password
?:
string
;
port
?:
number
;
username
?:
string
}
to
String
to
String
(
)
:
string
Returns
string
with
Host
with
Host
(
host
:
AnyUriHost
)
:
UriAuthority
Parameters
host:
AnyUriHost
Returns
UriAuthority
with
HostIPv4
with
HostIPv4
(
hostIPv4
:
string
)
:
UriAuthority
Parameters
hostIPv4:
string
Returns
UriAuthority
with
HostIPv6
with
HostIPv6
(
hostIPv5
:
string
)
:
UriAuthority
Parameters
hostIPv5:
string
Returns
UriAuthority
with
Host
Name
with
Host
Name
(
hostName
:
string
)
:
UriAuthority
Parameters
hostName:
string
Returns
UriAuthority
with
Host
Part
with
Host
Part
(
hostPart
:
string
)
:
UriAuthority
Parameters
hostPart:
string
Returns
UriAuthority
with
Password
with
Password
(
password
:
undefined
|
string
)
:
UriAuthority
Parameters
password:
undefined
|
string
Returns
UriAuthority
with
Port
with
Port
(
port
:
AnyUriPort
)
:
UriAuthority
Parameters
port:
AnyUriPort
Returns
UriAuthority
with
Port
Number
with
Port
Number
(
portNumber
:
number
)
:
UriAuthority
Parameters
portNumber:
number
Returns
UriAuthority
with
Port
Part
with
Port
Part
(
portPart
:
string
)
:
UriAuthority
Parameters
portPart:
string
Returns
UriAuthority
with
User
with
User
(
user
:
AnyUriUser
)
:
UriAuthority
Parameters
user:
AnyUriUser
Returns
UriAuthority
with
User
Part
with
User
Part
(
userPart
:
string
)
:
UriAuthority
Parameters
userPart:
string
Returns
UriAuthority
with
Username
with
Username
(
username
:
undefined
|
string
, password
?:
string
)
:
UriAuthority
Parameters
username:
undefined
|
string
Optional
password:
string
Returns
UriAuthority
Static
create
create
(
user
?:
UriUser
, host
?:
UriHost
, port
?:
UriPort
)
:
UriAuthority
Parameters
Optional
user:
UriUser
Optional
host:
UriHost
Optional
port:
UriPort
Returns
UriAuthority
Static
from
Any
from
Any
(
value
:
undefined
|
null
|
AnyUriAuthority
)
:
UriAuthority
Parameters
value:
undefined
|
null
|
AnyUriAuthority
Returns
UriAuthority
Static
from
Init
from
Init
(
init
:
UriAuthorityInit
)
:
UriAuthority
Parameters
init:
UriAuthorityInit
Returns
UriAuthority
Static
host
host
(
host
:
AnyUriHost
)
:
UriAuthority
Parameters
host:
AnyUriHost
Returns
UriAuthority
Static
hostIPv4
hostIPv4
(
hostIPv4
:
string
)
:
UriAuthority
Parameters
hostIPv4:
string
Returns
UriAuthority
Static
hostIPv6
hostIPv6
(
hostIPv6
:
string
)
:
UriAuthority
Parameters
hostIPv6:
string
Returns
UriAuthority
Static
host
Name
host
Name
(
hostName
:
string
)
:
UriAuthority
Parameters
hostName:
string
Returns
UriAuthority
Static
host
Part
host
Part
(
hostPart
:
string
)
:
UriAuthority
Parameters
hostPart:
string
Returns
UriAuthority
Static
parse
parse
(
authorityPart
:
string
)
:
UriAuthority
Parameters
authorityPart:
string
Returns
UriAuthority
Static
password
password
(
password
:
string
)
:
UriAuthority
Parameters
password:
string
Returns
UriAuthority
Static
port
port
(
port
:
AnyUriPort
)
:
UriAuthority
Parameters
port:
AnyUriPort
Returns
UriAuthority
Static
port
Number
port
Number
(
portNumber
:
number
)
:
UriAuthority
Parameters
portNumber:
number
Returns
UriAuthority
Static
port
Part
port
Part
(
portPart
:
string
)
:
UriAuthority
Parameters
portPart:
string
Returns
UriAuthority
Static
undefined
undefined
(
)
:
UriAuthority
Returns
UriAuthority
Static
user
user
(
user
:
AnyUriUser
)
:
UriAuthority
Parameters
user:
AnyUriUser
Returns
UriAuthority
Static
user
Part
user
Part
(
userPart
:
string
)
:
UriAuthority
Parameters
userPart:
string
Returns
UriAuthority
Static
username
username
(
username
:
string
, password
?:
string
)
:
UriAuthority
Parameters
username:
string
Optional
password:
string
Returns
UriAuthority
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Uri
Authority
constructor
hash
Value
host
port
string
Value
user
host
Address
hostIPv4
hostIPv6
host
Name
host
Part
password
port
Number
port
Part
user
Part
username
compare
To
copy
debug
display
equals
hash
Code
is
Defined
to
Any
to
String
with
Host
with
HostIPv4
with
HostIPv6
with
Host
Name
with
Host
Part
with
Password
with
Port
with
Port
Number
with
Port
Part
with
User
with
User
Part
with
Username
create
from
Any
from
Init
host
hostIPv4
hostIPv6
host
Name
host
Part
parse
password
port
port
Number
port
Part
undefined
user
user
Part
username
Generated using
TypeDoc