toggle menu
apollo-kdoc
4.0.0-beta.7-SNAPSHOT
4.0.0-beta.7-SNAPSHOT
3.8.2
common
switch theme
search in API
apollo-mockserver
/
com.apollographql.apollo3.mockserver
/
MockRequest
Mock
Request
class
MockRequest
(
val
method
:
String
,
val
path
:
String
,
val
version
:
String
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
val
body
:
ByteString
=
ByteString.EMPTY
)
:
MockRequestBase
Members
Constructors
Mock
Request
Link copied to clipboard
constructor
(
method
:
String
,
path
:
String
,
version
:
String
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
body
:
ByteString
=
ByteString.EMPTY
)
Properties
body
Link copied to clipboard
val
body
:
ByteString
headers
Link copied to clipboard
open
override
val
headers
:
Map
<
String
,
String
>
The request headers
method
Link copied to clipboard
open
override
val
method
:
String
path
Link copied to clipboard
open
override
val
path
:
String
version
Link copied to clipboard
open
override
val
version
:
String