Notes/src/services/request_interface.ts

20 lines
364 B
TypeScript
Raw Normal View History

2024-02-18 13:10:51 +02:00
export interface CookieJar {
header?: string;
}
export interface ExecOpts {
proxy: "noproxy" | null;
method: string;
url: string;
paging?: {
pageCount: number;
pageIndex: number;
requestId: string;
};
cookieJar?: CookieJar;
auth?: {
password?: string;
},
timeout: number;
body: string;
}