UNPKG

insite-cookie

Version:

Cookie support for inSite

17 lines 580 B
import type { WS } from "insite-ws/client"; import { type Method } from "../common"; export type Options = { method?: Method; url?: string; onload?: (this: XMLHttpRequest, event: ProgressEvent) => unknown; onerror?: (this: XMLHttpRequest, event: ProgressEvent) => unknown; }; export declare class CookieSetter { #private; constructor(ws: WS, options?: Options); readonly method: Method; readonly url: string; static onXhrLoad(this: XMLHttpRequest): void; static onXhrError(this: XMLHttpRequest): void; } //# sourceMappingURL=Setter.d.ts.map