Interface IpregistryRequestHandler

interface IpregistryRequestHandler {
    batchLookupAsns(
        asns: number[],
        options: IpregistryOption[],
    ): Promise<ApiResponse<BatchResult<AutonomousSystem | LookupError>>>;
    batchLookupIps(
        ipAddresses: string[],
        options: IpregistryOption[],
    ): Promise<ApiResponse<BatchResult<IpInfo | LookupError>>>;
    lookupAsn(
        asn: number,
        options: IpregistryOption[],
    ): Promise<ApiResponse<AutonomousSystem>>;
    lookupIp(
        ipAddress: string,
        options: IpregistryOption[],
    ): Promise<ApiResponse<IpInfo>>;
    originLookupAsn(
        options: IpregistryOption[],
    ): Promise<ApiResponse<RequesterAutonomousSystem>>;
    originLookupIp(
        options: IpregistryOption[],
    ): Promise<ApiResponse<RequesterIpInfo>>;
    parseUserAgents(
        userAgents: string[],
    ): Promise<ApiResponse<BatchResult<UserAgent>>>;
}

Implemented by

Methods