mirror of
https://github.com/exchanges-lab/view.git
synced 2026-08-06 05:52:19 +08:00
8 lines
419 B
TypeScript
8 lines
419 B
TypeScript
import { RequestParams, UdfErrorResponse, UdfResponse } from './helpers';
|
|
|
|
export interface IRequester {
|
|
sendRequest<T extends UdfResponse>(datafeedUrl: string, urlPath: string, params?: RequestParams): Promise<T | UdfErrorResponse>;
|
|
sendRequest<T>(datafeedUrl: string, urlPath: string, params?: RequestParams): Promise<T>;
|
|
sendRequest<T>(datafeedUrl: string, urlPath: string, params?: RequestParams): Promise<T>;
|
|
}
|