Skip to content

@liquality.client.HttpClient

Krasimir Raykov edited this page Mar 30, 2022 · 3 revisions

Class: HttpClient

@liquality/client.HttpClient

Table of contents

Constructors

Methods

Constructors

constructor

new HttpClient(config)

Parameters

Name Type
config AxiosRequestConfig<any>

Defined in

client/lib/Http.ts:6

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/lib/Http.ts:10


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/lib/Http.ts:15

Clone this wiki locally