apollo-kotlin
3.8.2
common
apollo-mockserver
/
com.apollographql.apollo3.mockserver
/
ChunkedResponse
Chunked
Response
common
@
ApolloExperimental
class
ChunkedResponse
(
statusCode
:
Int
=
200
,
partsContentType
:
String
=
"application/json; charset=utf-8"
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
responseDelayMillis
:
Long
=
0
,
chunksDelayMillis
:
Long
=
0
,
boundary
:
String
=
"-"
)
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Chunked
Response
Link copied to clipboard
common
fun
ChunkedResponse
(
statusCode
:
Int
=
200
,
partsContentType
:
String
=
"application/json; charset=utf-8"
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
responseDelayMillis
:
Long
=
0
,
chunksDelayMillis
:
Long
=
0
,
boundary
:
String
=
"-"
)
Content copied to clipboard
Functions
send
Link copied to clipboard
common
fun
send
(
content
:
String
,
isFirst
:
Boolean
=
false
,
isLast
:
Boolean
=
false
)
Content copied to clipboard
Properties
response
Link copied to clipboard
common
val
response
:
MockResponse
Content copied to clipboard