Request configuration for attestation

interface AttestRequest {
    body?: string | object;
    headers?: Record<string, string>;
    maxRecvData?: number;
    maxSentData?: number;
    method?:
        | "GET"
        | "POST"
        | "PUT"
        | "DELETE"
        | "PATCH";
    url: string;
}

Hierarchy (view full)

Properties

body?: string | object

Request body (for POST/PUT/PATCH)

headers?: Record<string, string>

Request headers

maxRecvData?: number

Max bytes to receive (default: 16384)

maxSentData?: number

Max bytes to send (default: 16384)

method?:
    | "GET"
    | "POST"
    | "PUT"
    | "DELETE"
    | "PATCH"

HTTP method (default: 'GET')

url: string

Target HTTPS URL to attest