Proxy
Info
Proxy
Type
logger
proxy
Types
auth
Listener
exists
get
Proxies
get
Proxies
For
Url
is
Proxy
Type
on
Request
Listener
proxy
From
Url
Index
Interfaces
Proxy
Info
Type aliases
Proxy
Type
Variables
logger
proxy
Types
Functions
auth
Listener
exists
get
Proxies
get
Proxies
For
Url
is
Proxy
Type
on
Request
Listener
proxy
From
Url
Type aliases
Proxy
Type
Proxy
Type
:
typeof
proxyTypes
[
number
]
Variables
Const
logger
logger
:
Logger
= new Logging.Logger("proxy")
Const
proxy
Types
proxy
Types
:
[
"http"
,
"https"
,
"socks"
,
"socks4"
]
= ["http", "https", "socks", "socks4"] as const
Functions
Const
auth
Listener
auth
Listener
(
url
:
string
, proxy
:
ProxyInfo
)
:
void
Parameters
url:
string
proxy:
ProxyInfo
Returns
void
exists
exists
(
names
:
string
[]
)
:
void
Parameters
names:
string
[]
Returns
void
Const
get
Proxies
get
Proxies
(
)
:
{}
Returns
{}
[
key:
string
]:
ProxyInfo
Const
get
Proxies
For
Url
get
Proxies
For
Url
(
url
:
string
)
:
Promise
<
ProxyInfo
[]
>
Parameters
url:
string
Returns
Promise
<
ProxyInfo
[]
>
is
Proxy
Type
is
Proxy
Type
(
proxyType
:
string
)
:
proxyType
is
ProxyType
Parameters
proxyType:
string
Returns
proxyType
is
ProxyType
Const
on
Request
Listener
on
Request
Listener
(
details
:
Pick
<
_OnRequestDetails
,
"url"
>
)
:
Promise
<
ProxyInfo
[]
|
never
[]
>
Parameters
details:
Pick
<
_OnRequestDetails
,
"url"
>
Returns
Promise
<
ProxyInfo
[]
|
never
[]
>
Const
proxy
From
Url
proxy
From
Url
(
proxyUrl
:
string
)
:
ProxyInfo
Parameters
proxyUrl:
string
Returns
ProxyInfo