Class WebsocketConfig


  • @ConfigRoot(phase=BUILD_TIME)
    public class WebsocketConfig
    extends Object
    • 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.
    • Constructor Detail

      • WebsocketConfig

        public WebsocketConfig()