mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-15 23:20:02 -04:00
gyghhhhhhhh
This commit is contained in:
commit
86abdca21e
23 changed files with 1464 additions and 0 deletions
38
dist/snapshot.d.ts
vendored
Normal file
38
dist/snapshot.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
export declare const fetch: typeof globalThis.fetch;
|
||||
export declare const WebSocket: {
|
||||
new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;
|
||||
prototype: WebSocket;
|
||||
readonly CONNECTING: 0;
|
||||
readonly OPEN: 1;
|
||||
readonly CLOSING: 2;
|
||||
readonly CLOSED: 3;
|
||||
};
|
||||
export declare const Request: {
|
||||
new (input: URL | RequestInfo, init?: RequestInit | undefined): Request;
|
||||
prototype: Request;
|
||||
};
|
||||
export declare const Response: {
|
||||
new (body?: BodyInit | null | undefined, init?: ResponseInit | undefined): Response;
|
||||
prototype: Response;
|
||||
error(): Response;
|
||||
json(data: any, init?: ResponseInit | undefined): Response;
|
||||
redirect(url: string | URL, status?: number | undefined): Response;
|
||||
};
|
||||
export declare const XMLHttpRequest: {
|
||||
new (): XMLHttpRequest;
|
||||
prototype: XMLHttpRequest;
|
||||
readonly UNSENT: 0;
|
||||
readonly OPENED: 1;
|
||||
readonly HEADERS_RECEIVED: 2;
|
||||
readonly LOADING: 3;
|
||||
readonly DONE: 4;
|
||||
};
|
||||
export declare const WebSocketFields: {
|
||||
prototype: {
|
||||
send: (data: string | Blob | ArrayBufferView | ArrayBufferLike) => void;
|
||||
};
|
||||
CLOSED: 3;
|
||||
CLOSING: 2;
|
||||
CONNECTING: 0;
|
||||
OPEN: 1;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue