UNPKG

@infosel-sdk/core

Version:

Core SDK for Infosel financial services platform. Provides essential infrastructure for authentication, HTTP/GraphQL communication, storage management, and error handling.

9 lines (8 loc) 549 B
export default interface HttpClient<Config = Record<string, any>> { request<Response>(config: Config): Promise<Response>; get<Response>(url: string, config?: Config): Promise<Response>; post<Request, Response>(url: string, data?: Request, config?: Config): Promise<Response>; put<Request, Response>(url: string, data?: Request, config?: Config): Promise<Response>; patch<Request, Response>(url: string, data?: Request, config?: Config): Promise<Response>; delete<Response>(url: string, config?: Config): Promise<Response>; }