@libp2p/http
Preparing search index...
@libp2p/http-utils
normalizeUrl
Function normalizeUrl
normalizeUrl
(
req
:
{
headers
?:
Headers
|
{
host
?:
string
}
;
url
?:
string
}
)
:
URL
Returns a fully qualified URL representing the resource that is being requested
Parameters
req
:
{
headers
?:
Headers
|
{
host
?:
string
}
;
url
?:
string
}
Returns
URL
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@libp2p/http
Loading...
Returns a fully qualified URL representing the resource that is being requested