micro_utils.dokka
0.11.14
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.ktor.server
/
includeWebsocketHandling
include
Websocket
Handling
jvm
fun
<
T
>
<ERROR CLASS>
.
includeWebsocketHandling
(
suburl
:
String
,
flow
:
Flow
<
T
>
,
serializer
:
<ERROR CLASS>
<
T
>
,
serialFormat
:
<ERROR CLASS>
=
standardKtorSerialFormat
,
protocol
:
<ERROR CLASS>
?
=
null
,
filter
:
suspend
<ERROR CLASS>
.
(
T
)
->
Boolean
?
=
null
)
:
<ERROR CLASS>
Content copied to clipboard
inline
fun
<
T
:
Any
>
<ERROR CLASS>
.
includeWebsocketHandling
(
suburl
:
String
,
flow
:
Flow
<
T
>
,
protocol
:
<ERROR CLASS>
?
=
null
,
noinline
dataMapper
:
suspend
<ERROR CLASS>
.
(
T
)
->
T
?
=
{ it }
)
Content copied to clipboard