Notes/src/services/request_interface.ts
2025-01-09 18:07:02 +02:00

21 lines
368 B
TypeScript

export interface CookieJar {
header?: string;
}
export interface ExecOpts {
proxy: string | null;
method: string;
url: string;
paging?: {
pageCount: number;
pageIndex: number;
requestId: string;
};
cookieJar?: CookieJar;
auth?: {
password?: string;
};
timeout: number;
body?: string | {};
}