WebRequest

@Serializable
data class WebRequest(val body: ArtifactContent? = null, val headers: Map<String, String>? = null, val index: Long? = null, val method: String? = null, val parameters: Map<String, String>? = null, val properties: PropertyBag? = null, val protocol: String? = null, val target: String? = null, val version: String? = null)

A web request associated with this thread flow location.

Describes an HTTP request.

A web request associated with this result.

Constructors

Link copied to clipboard
constructor(body: ArtifactContent? = null, headers: Map<String, String>? = null, index: Long? = null, method: String? = null, parameters: Map<String, String>? = null, properties: PropertyBag? = null, protocol: String? = null, target: String? = null, version: String? = null)

Properties

Link copied to clipboard
val body: ArtifactContent? = null

The body of the request.

Link copied to clipboard
val headers: Map<String, String>? = null

The request headers.

Link copied to clipboard
val index: Long? = null

The index within the run.webRequests array of the request object associated with this result.

Link copied to clipboard
val method: String? = null

The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'.

Link copied to clipboard
val parameters: Map<String, String>? = null

The request parameters.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the request.

Link copied to clipboard
val protocol: String? = null

The request protocol. Example: 'http'.

Link copied to clipboard
val target: String? = null

The target of the request.

Link copied to clipboard
val version: String? = null

The request version. Example: '1.1'.