ktor
2.0.3
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
common
ktor-websockets
/
io.ktor.websocket
/
CloseReason
/
Codes
/
Companion
/
byCode
by
Code
common
fun
byCode
(
code
:
Short
)
:
CloseReason.Codes
?
Content copied to clipboard
Get enum value by close reason code
Return
enum instance or null if
code
is not in standard