Search code examples
kotlinwebsocketktor

How to assemble frame fragments


I'm using a raw session (for more overall control), and want to know how to assemble "fragments". I can't find any documents.


Solution

  • Unfortunately, frame reassembling is a part of the default implementation that is disabled in the raw mode.

    The good thing is that it's not that hard to write frame assembling, see the corresponding place in ktor