rui-weather-service-api
Version:
Weather API service with OpenWeatherMap integration - includes both standalone API and MCP server
16 lines • 581 B
TypeScript
import { AxiosInstance } from 'axios';
declare const httpClient: AxiosInstance;
/**
* Updates the HTTP client configuration
*/
export declare function updateHttpClientConfig(): void;
/**
* Makes a HTTP request with retry capability
* @param url Request URL
* @param params Request parameters
* @param maxRetries Maximum number of retry attempts
* @returns Promise with response data
*/
export declare function fetchWithRetry<T>(url: string, params?: Record<string, any>, maxRetries?: number): Promise<T>;
export default httpClient;
//# sourceMappingURL=http-client.d.ts.map