HttpCode

data class HttpCode(val value: String) : Matcher

The HTTP code to use when checking for a successful response from a target.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this Matcher as a HttpCode and retrieves its kotlin.String value. Throws an exception if the Matcher is not a HttpCode.

Link copied to clipboard

Casts this Matcher as a HttpCode and retrieves its kotlin.String value. Returns null if the Matcher is not a HttpCode.