implemented web sockets
This commit is contained in:
parent
e4fe48025e
commit
7939d540ac
2 changed files with 42 additions and 2 deletions
|
|
@ -19,6 +19,7 @@ interface IHTTPContext {
|
|||
) => Promise<AxiosResponse<T>>;
|
||||
del: <T>(url: string, spreadOptions?: AxiosRequestConfig) => Promise<AxiosResponse<T>>;
|
||||
options: (demo?: boolean) => AxiosRequestConfig;
|
||||
token: string;
|
||||
}
|
||||
|
||||
interface Props extends PropsWithChildren<any>{
|
||||
|
|
@ -104,7 +105,8 @@ export default function HTTPProvider(props: Props) {
|
|||
put,
|
||||
post,
|
||||
del,
|
||||
options: defaultOptions
|
||||
options: defaultOptions,
|
||||
token
|
||||
}}>
|
||||
{/* <BillingProvider> */}
|
||||
<PondProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue