HttpRequestInfo

Information captured about an HTTP request by instrumentation. You should not implement the HttpRequestInfo interface directly in your own custom classes, as new functions may be added in the future.

Inheritors

Properties

Link copied to clipboard
abstract val httpMethod: String

The request's method (GET, PUT, POST, DELETE, PATCH, etc.).

Link copied to clipboard
open val nativeRequest: Any?

The HTTP client's own request object, such as an okhttp3.Request, or null if the instrumentation doesn't provide one.

Link copied to clipboard
abstract val url: String

The request's URL. Must start with http:// or https://