MockzillaHttpResponse

@Serializable
data class MockzillaHttpResponse(val statusCode: HttpStatusCode = HttpStatusCode.OK, val headers: Map<String, String> = emptyMap(), val body: String = "")

Constructors

Link copied to clipboard
constructor(statusCode: HttpStatusCode = HttpStatusCode.OK, headers: Map<String, String> = emptyMap(), body: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = HttpStatusCodeSerializer::class)
val statusCode: HttpStatusCode