ktor
2.0.3
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
ktor-client-json-tests
/
io.ktor.client.plugins.json.tests
/
JsonTest
Json
Test
abstract
class
JsonTest
:
TestWithKtor
Content copied to clipboard
Base class for JSON tests.
Types
Constructors
Functions
Properties
Constructors
Json
Test
Link copied to clipboard
fun
JsonTest
(
)
Content copied to clipboard
Types
Response
Link copied to clipboard
data
class
Response
<
T
>
(
ok
:
Boolean
,
result
:
T
?
)
Content copied to clipboard
User
Link copied to clipboard
data
class
User
(
name
:
String
,
age
:
Int
)
Content copied to clipboard
Widget
Link copied to clipboard
data
class
Widget
(
name
:
String
,
value
:
Int
,
tags
:
List
<
String
>
)
Content copied to clipboard
Functions
start
Server
Link copied to clipboard
fun
startServer
(
)
Content copied to clipboard
stop
Server
Link copied to clipboard
fun
stopServer
(
)
Content copied to clipboard
test
Custom
Content
Types
Link copied to clipboard
fun
testCustomContentTypes
(
)
Content copied to clipboard
test
Custom
Content
Types
Multiple
Link copied to clipboard
fun
testCustomContentTypesMultiple
(
)
Content copied to clipboard
test
Custom
Content
Types
Wildcard
Link copied to clipboard
fun
testCustomContentTypesWildcard
(
)
Content copied to clipboard
test
Empty
Body
Link copied to clipboard
fun
testEmptyBody
(
)
Content copied to clipboard
test
Serialize
Nested
Link copied to clipboard
fun
testSerializeNested
(
)
Content copied to clipboard
test
Serialize
Simple
Link copied to clipboard
fun
testSerializeSimple
(
)
Content copied to clipboard
Properties
server
Link copied to clipboard
open
override
val
server
:
ApplicationEngine
Content copied to clipboard
timeout
Link copied to clipboard
open
val
timeout
:
CoroutinesTimeout
Content copied to clipboard