Skip to content

@liquality.evm.<internal>.HttpClient

Krasimir Raykov edited this page Mar 30, 2022 · 1 revision

Class: HttpClient

@liquality/evm..HttpClient

Table of contents

Constructors

Methods

Constructors

constructor

new HttpClient(config)

Parameters

Name Type
config AxiosRequestConfig<any>

Defined in

client/dist/lib/Http.d.ts:4

Methods

nodeGet

nodeGet<I, O>(url, params?): Promise<O>

Type parameters

Name Type
I any
O any

Parameters

Name Type
url string
params? I

Returns

Promise<O>

Defined in

client/dist/lib/Http.d.ts:5


nodePost

nodePost<I, O>(url, data): Promise<O>

Type parameters

Name Type
I any
O any

Parameters

Name Type
url string
data I

Returns

Promise<O>

Defined in

client/dist/lib/Http.d.ts:6

Clone this wiki locally