lib
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
lib
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