lib
Toggle table of contents
js
Platform filter
js
Switch theme
Search in API
lib
mockzilla
/
com.apadmi.mockzilla.lib.internal.jsinterface
/
JsMockzillaHttpRequest
Js
Mockzilla
Http
Request
js
data
class
JsMockzillaHttpRequest
(
val
uri
:
String
,
val
headers
:
String
,
val
method
:
String
,
val
bodyAsBytes
:
Promise
<
ByteArray
>
,
val
bodyAsString
:
Promise
<
String
>
)
Members
Constructors
Js
Mockzilla
Http
Request
Link copied to clipboard
js
constructor
(
uri
:
String
,
headers
:
String
,
method
:
String
,
bodyAsBytes
:
Promise
<
ByteArray
>
,
bodyAsString
:
Promise
<
String
>
)
Properties
body
As
Bytes
Link copied to clipboard
js
val
bodyAsBytes
:
Promise
<
ByteArray
>
body
As
String
Link copied to clipboard
js
val
bodyAsString
:
Promise
<
String
>
headers
Link copied to clipboard
js
val
headers
:
String
method
Link copied to clipboard
js
val
method
:
String
uri
Link copied to clipboard
js
val
uri
:
String