wwWallet core documentation
    Preparing search index...

    Interface HttpClient

    interface HttpClient {
        get: <T>(url: string) => Promise<{ data: T }>;
        post: <T>(
            url: string,
            body?: unknown,
            config?: { headers: Record<string, string> },
        ) => Promise<{ data: T }>;
    }
    Index

    Properties

    Properties

    get: <T>(url: string) => Promise<{ data: T }>

    post

    post: <T>(
        url: string,
        body?: unknown,
        config?: { headers: Record<string, string> },
    ) => Promise<{ data: T }>