acebase-client
Version:
Client to connect to an AceBase realtime database server
14 lines • 519 B
TypeScript
/**
* @returns returns a promise that resolves with an object containing data and an optionally returned context
*/
export default function request(method: 'GET' | 'POST' | 'PUT' | 'DELETE', url: string, options?: {
accessToken?: string | null;
data?: any;
dataReceivedCallback?: ((chunk: any) => void) | null;
dataRequestCallback?: ((bytes: number) => Promise<any> | any) | null;
context?: any;
}): Promise<{
context: any;
data: any;
}>;
//# sourceMappingURL=browser.d.ts.map