https://kotlinlang.org logo
#http4k
Title
# http4k
s

Sandymcp

09/14/2021, 8:40 AM
I have a question regarding frame size for web sockets, how does one set this?
d

dave

09/14/2021, 8:45 AM
haven't come across this problem before - that's something that isn't currently settable at the http4k level, so you'll have to dig into the implementation to do it in the specific server layer. which backend are you using?
s

Sandymcp

09/14/2021, 8:51 AM
That’s what I thought, I had dug through the http4k code. Backend is Undertow, one of my colleagues threw all sorts of SpringBoot stuff at me 🙃, all I need is a handle to the underlying websocket.
d

dave

09/14/2021, 10:36 AM
I think you might be able to do it using a custom Undertow instance and set
setBufferSize
on the UndertowBuilder
3 Views