Hhertz/node_modules/matrix-bot-sdk/lib/request.d.ts
2025-07-31 23:47:20 +03:00

13 lines
404 B
TypeScript

/**
* Sets the function to use for performing HTTP requests. Must be compatible with `request`.
* @param fn The new request function.
* @category Unit testing
*/
export declare function setRequestFn(fn: any): void;
/**
* Gets the `request`-compatible function for performing HTTP requests.
* @returns The request function.
* @category Unit testing
*/
export declare function getRequestFn(): any;