RequestInfo

interface RequestInfo

Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.

Properties

Link copied to clipboard
abstract val requestId: String

An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.

Link copied to clipboard
abstract val servingData: String

Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.

Functions

Link copied to clipboard
Link copied to clipboard
fun RequestInfo.copy(body: <Error class: unknown class>.() -> Unit = {}): RequestInfo

Copies the original message, including unknown fields.