# Interface: IRequest
# Table of contents
# Properties
# Properties
# del
• del: (url
: string, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
args? | Partial<Config<unknown>> |
Returns: Promise<any>
# get
• get: (url
: string, params?
: Record<string, any>, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, params?
: Record<string, any>, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
params? | Record<string, any> |
args? | Partial<Config<unknown>> |
Returns: Promise<any>
# options
• options: (url
: string, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
args? | Partial<Config<unknown>> |
Returns: Promise<any>
# patch
• patch: (url
: string, data
: any, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, data
: any, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
data | any |
args? | Partial<Config<unknown>> |
Returns: Promise<any>
# post
• post: (url
: string, data
: any, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, data
: any, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
data | any |
args? | Partial<Config<unknown>> |
Returns: Promise<any>
# put
• put: (url
: string, data
: any, args?
: Partial<Config<unknown>>) => Promise<any>
# Type declaration
▸ (url
: string, data
: any, args?
: Partial<Config<unknown>>): Promise<any>
# Parameters
Name | Type |
---|---|
url | string |
data | any |
args? | Partial<Config<unknown>> |
Returns: Promise<any>