Orderly SDKs / Modules / @orderly.network/net

Module: @orderly.network/net

Table of contents

Enumerations

Classes

Variables

Functions

Variables

__ORDERLY_API_URL_KEY__

Const __ORDERLY_API_URL_KEY__: string = "__ORDERLY_API_URL__"

Defined in

constants.ts:1


version

version: "1.5.7"

Defined in

version.ts:14

Functions

del

del(url, options?): Promise<any>

Parameters

NameType
urlstring
options?Omit<RequestInit, "method">

Returns

Promise<any>

Defined in

fetch/index.ts:112


get

get<R>(url, options?, formatter?): Promise<R>

Type parameters

Name
R

Parameters

NameType
urlstring
options?RequestInit
formatter?(data: any) => R

Returns

Promise<R>

Defined in

fetch/index.ts:62


mutate

mutate(url, init): Promise<any>

Parameters

NameType
urlstring
initRequestInit

Returns

Promise<any>

Defined in

fetch/index.ts:124


post

post(url, data, options?): Promise<any>

Parameters

NameType
urlstring
dataany
options?Omit<RequestInit, "method">

Returns

Promise<any>

Defined in

fetch/index.ts:84


put

put(url, data, options?): Promise<any>

Parameters

NameType
urlstring
dataany
options?Omit<RequestInit, "method">

Returns

Promise<any>

Defined in

fetch/index.ts:98