Class WebsocketConfig
- java.lang.Object
-
- io.quarkus.websockets.client.deployment.WebsocketConfig
-
@ConfigRoot(phase=BUILD_TIME) public class WebsocketConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleandispatchToWorkerIf the websocket methods should be run in a worker thread.intmaxFrameSizeThe maximum amount of data that can be sent in a single frame.
-
Constructor Summary
Constructors Constructor Description WebsocketConfig()
-
-
-
Field Detail
-
maxFrameSize
@ConfigItem(defaultValue="65536") public int maxFrameSize
The maximum amount of data that can be sent in a single frame. Messages larger than this must be broken up into continuation frames.
-
dispatchToWorker
@ConfigItem(defaultValue="false") public boolean dispatchToWorker
If the websocket methods should be run in a worker thread. This allows them to run blocking tasks, however it will not be as fast as running directly in the IO thread.
-
-