mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
feat: add responseType to axios config
This commit is contained in:
@@ -9,6 +9,13 @@ export type RequestOptions<B = unknown> = {
|
||||
auth?: AuthMode; // 'cookie' | 'bearer' | 'none'
|
||||
token?: string; // required if auth === 'bearer'
|
||||
timeoutMs?: number;
|
||||
responseType?:
|
||||
| 'arraybuffer'
|
||||
| 'blob'
|
||||
| 'document'
|
||||
| 'json'
|
||||
| 'text'
|
||||
| 'stream';
|
||||
};
|
||||
|
||||
export class HttpError extends Error {
|
||||
|
||||
Reference in New Issue
Block a user