UNPKG

@snap/camera-kit

Version:
61 lines (31 loc) 934 B
[**CameraKit Web SDK v1.13.0**](../README.md) *** [CameraKit Web SDK](../globals.md) / LensHttpRequest # 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. ## Properties ### url > **url**: `string` The URL of the HTTP request. *** ### identifier > **identifier**: `string` A unique identifier for the HTTP request. *** ### method > **method**: `string` The HTTP method of the request (e.g., GET, POST, PUT, DELETE). *** ### data > **data**: `ArrayBuffer` The raw data payload for the HTTP request, represented as an `ArrayBuffer`. *** ### headers > **headers**: `Record`\<`string`, `string`\> The headers included in the HTTP request. *** ### lens > **lens**: [`Lens`](Lens.md) The [Lens](Lens.md) that initiated this request.