Interface LensHttpRequest

Represents context for an HTTP request made by a Lens.

This interface provides detailed information about the request, such as its identifier, method, data payload, headers, and associated Lens object.

interface LensHttpRequest {
    url: string;
    identifier: string;
    method: string;
    data: ArrayBuffer;
    headers: Record<string, string>;
    lens: Lens;
}

Properties

url: string

The URL of the HTTP request.

identifier: string

A unique identifier for the HTTP request.

method: string

The HTTP method of the request (e.g., GET, POST, PUT, DELETE).

The raw data payload for the HTTP request, represented as an ArrayBuffer.

headers: Record<string, string>

The headers included in the HTTP request.

lens: Lens

The Lens that initiated this request.

MMNEPVFCICPMFPCPTTAAATR