Preparing search index...
The search index is not available
IGPAPI
IGPAPI
@igpapi/core
IgpapiHttp
Class IgpapiHttp
Abstract
Hierarchy
IgpapiHttp
Index
Constructors
constructor
Properties
client
debug
headers?
set
Masq
state
status
Checker
Strategy?
Methods
agent
body
error
finally
full
set
Fault
Policy
set
Headers
set
Masq
Connection
Pooling
set
Masq
Mode
set
Masq
Url
stream
Constructors
constructor
new
Igpapi
Http
(
)
:
IgpapiHttp
Returns
IgpapiHttp
Properties
Abstract
client
client
:
Got
Protected
Abstract
debug
debug
:
Debugger
Protected
Optional
Abstract
headers
headers
?:
IgpapiHttpHeaders
set
Masq
set
Masq
:
(
(
url
:
null
|
string
)
=>
void
)
= ...
Deprecated
just replace with setMasqUrl() instead
Protected
Abstract
state
state
:
IgpapiState
Protected
Optional
Abstract
status
Checker
Strategy
status
Checker
Strategy
?:
StatusCheckerStrategy
Methods
agent
agent
(
proxyUrl
?:
string
)
:
undefined
|
SocksProxyAgent
|
HttpsProxyAgent
Parameters
Optional
proxyUrl
:
string
Returns
undefined
|
SocksProxyAgent
|
HttpsProxyAgent
body
body
<
T
>
(
options
:
IgpapiHttpRequestParameters
)
:
Promise
<
T
>
Type Parameters
T
=
unknown
Parameters
options
:
IgpapiHttpRequestParameters
Returns
Promise
<
T
>
Protected
Abstract
error
error
(
response
:
Response
<
unknown
>
)
:
Error
Parameters
response
:
Response
<
unknown
>
Returns
Error
Protected
Abstract
finally
finally
(
response
:
Response
<
unknown
>
)
:
any
Parameters
response
:
Response
<
unknown
>
Returns
any
full
full
<
T
>
(
input
:
IgpapiHttpRequestParameters
)
:
Promise
<
Response
<
T
>
>
Type Parameters
T
=
unknown
Parameters
input
:
IgpapiHttpRequestParameters
Returns
Promise
<
Response
<
T
>
>
set
Fault
Policy
set
Fault
Policy
(
policy
:
IPolicy
<
IDefaultPolicyContext
,
never
>
)
:
void
Parameters
policy
:
IPolicy
<
IDefaultPolicyContext
,
never
>
Returns
void
set
Headers
set
Headers
(
headersGenerator
:
IgpapiHttpHeaders
)
:
void
Parameters
headersGenerator
:
IgpapiHttpHeaders
Returns
void
set
Masq
Connection
Pooling
set
Masq
Connection
Pooling
(
as
:
boolean
)
:
void
Parameters
as
:
boolean
Returns
void
set
Masq
Mode
set
Masq
Mode
(
mode
:
null
|
string
)
:
void
Parameters
mode
:
null
|
string
Returns
void
set
Masq
Url
set
Masq
Url
(
url
:
null
|
string
)
:
void
Parameters
url
:
null
|
string
Returns
void
stream
stream
(
options
:
Options
)
:
Request
Parameters
options
:
Options
Returns
Request
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
debug
headers
set
Masq
state
status
Checker
Strategy
Methods
agent
body
error
finally
full
set
Fault
Policy
set
Headers
set
Masq
Connection
Pooling
set
Masq
Mode
set
Masq
Url
stream
IGPAPI
Loading...
Deprecated
just replace with setMasqUrl() instead