Perhaps a nice enhancement on the documentation pa...
# ktor
a
Perhaps a nice enhancement on the documentation part of https://github.com/ktorio/ktor/blob/master/ktor-http/ktor-http-cio/src/io/ktor/http/cio/websocket/Frame.kt I used
val frame = Frame.Text("foo")
and send
frame
concurrently (I thought it was thread-safe), and got a BufferUnderflowException out of it. The cause is the underlying
Buffer
https://docs.oracle.com/javase/7/docs/api/java/nio/Buffer.html. For me it would've been useful if the documentation states
Frame
is not thread-safe