Request
class Request(val id: String, val lensId: String, val url: String, val method: LensesComponent.HttpHandler.Request.Method, val body: ByteArray?, val headers: Map<String, String>)
Defines the data model for a HTTP request sent by a lens.
Parameters
id
Unique id of the request.
lens Id
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.