GitHub
Preparing search index...
The search index is not available
casper-js-sdk
casper-js-sdk
HttpHandler
Class HttpHandler
Hierarchy
HttpHandler
Implements
IHandler
Index
Constructors
constructor
Properties
custom
Headers
endpoint
http
Client
Methods
process
Call
set
Custom
Headers
Constructors
constructor
new
Http
Handler
(
endpoint
:
string
, client
?:
AxiosInstance
)
:
HttpHandler
Parameters
endpoint:
string
Optional
client:
AxiosInstance
Returns
HttpHandler
Properties
Private
custom
Headers
custom
Headers
:
Record
<
string
,
string
>
Private
endpoint
endpoint
:
string
Private
http
Client
http
Client
:
AxiosInstance
Methods
process
Call
process
Call
(
params
:
RpcRequest
)
:
Promise
<
RpcResponse
>
Throws
Parameters
params:
RpcRequest
Returns
Promise
<
RpcResponse
>
set
Custom
Headers
set
Custom
Headers
(
headers
:
Record
<
string
,
string
>
)
:
void
Parameters
headers:
Record
<
string
,
string
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
casper-
js-
sdk
Http
Handler
constructor
custom
Headers
endpoint
http
Client
process
Call
set
Custom
Headers
Generated using
TypeDoc
Throws