I am using akka streams tcp module for handling some tcp protocol connection. And I would like to be able to specify multiple frame delimiters. Unfortunately I didn’t find a way how to achieve that. akka.stream.scaladsl.Framing.delimiter takes only single ByteString delimiter as an argument.
It seems to be quite common problem. For example netty defaults to using “\r\n” and “\n” as allowed line delimiters.