Modules
Orderly network net
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
version
• version: "1.5.7"
Defined in
Functions
del
▸ del(url
, options?
): Promise
<any
>
Parameters
Name | Type |
---|---|
url | string |
options? | Omit <RequestInit , "method" > |
Returns
Promise
<any
>
Defined in
get
▸ get<R
>(url
, options?
, formatter?
): Promise
<R
>
Type parameters
Name |
---|
R |
Parameters
Name | Type |
---|---|
url | string |
options? | RequestInit |
formatter? | (data : any ) => R |
Returns
Promise
<R
>
Defined in
mutate
▸ mutate(url
, init
): Promise
<any
>
Parameters
Name | Type |
---|---|
url | string |
init | RequestInit |
Returns
Promise
<any
>
Defined in
post
▸ post(url
, data
, options?
): Promise
<any
>
Parameters
Name | Type |
---|---|
url | string |
data | any |
options? | Omit <RequestInit , "method" > |
Returns
Promise
<any
>
Defined in
put
▸ put(url
, data
, options?
): Promise
<any
>
Parameters
Name | Type |
---|---|
url | string |
data | any |
options? | Omit <RequestInit , "method" > |
Returns
Promise
<any
>