toggle menu
lib
common
switch theme
search in API
mockzilla-common
/
com.apadmi.mockzilla.lib.models
/
MockzillaHttpResponse
Mockzilla
Http
Response
@
Serializable
data
class
MockzillaHttpResponse
(
val
statusCode
:
HttpStatusCode
=
HttpStatusCode.OK
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
val
body
:
String
=
""
)
Members
Constructors
Mockzilla
Http
Response
Link copied to clipboard
constructor
(
statusCode
:
HttpStatusCode
=
HttpStatusCode.OK
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
body
:
String
=
""
)
Properties
body
Link copied to clipboard
val
body
:
String
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
status
Code
Link copied to clipboard
@
Serializable
(
with
=
HttpStatusCodeSerializer::class
)
val
statusCode
:
HttpStatusCode