Request

fun Request(id: String, lensId: String, url: String, method: LensesComponent.HttpHandler.Request.Method, body: ByteArray?, headers: Map<String, String>)

Parameters

id

Unique id of the request.

lensId

An id of the lens that sent the request.

url

URL of the request.

method

HTTP method of the request.

body

Additional request payload as a ByteArray.

headers

A map of named headers associated with the request.