ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
ktor-server-core
/
io.ktor.server.response
/
respondNullable
respond
Nullable
jvmAndNix
inline suspend
fun
<
T
>
ApplicationCall
.
respondNullable
(
message
:
T
)
Sends a
message
as a response.
See also
Application
Response
inline suspend
fun
<
T
>
ApplicationCall
.
respondNullable
(
status
:
HttpStatusCode
,
message
:
T
)
Sends a
message
as a response with the specified
status
code.
See also
Application
Response