abuseipdb-client - v1.0.21
    Preparing search index...

    Interface ClientResponse<T>

    Client response for parsed IPDB's API endpoints.

    interface ClientResponse<T extends APIResponse> {
        error?: APIResponseError;
        headers: ClientHeaders;
        result?:
            | Extract<APICheckEndpointResponse, T>
            | Extract<APIReportsEndpointResponse, T>
            | Extract<APIBlacklistEndpointResponse, T>
            | Extract<APIBlacklistEndpointTextResponse, T>
            | Extract<APIReportEndpointResponse, T>
            | Extract<APICheckBlockEndpointResponse, T>
            | Extract<APIBulkReportEndpointResponse, T>
            | Extract<APIClearAddressEndpointResponse, T>
            | Extract<APIServerErrorResultResponse, T>;
    }

    Type Parameters

    Index

    Properties

    headers: ClientHeaders
    result?:
        | Extract<APICheckEndpointResponse, T>
        | Extract<APIReportsEndpointResponse, T>
        | Extract<APIBlacklistEndpointResponse, T>
        | Extract<APIBlacklistEndpointTextResponse, T>
        | Extract<APIReportEndpointResponse, T>
        | Extract<APICheckBlockEndpointResponse, T>
        | Extract<APIBulkReportEndpointResponse, T>
        | Extract<APIClearAddressEndpointResponse, T>
        | Extract<APIServerErrorResultResponse, T>