Interface WebsocketConfig


@ConfigRoot(phase=BUILD_TIME) @ConfigMapping(prefix="quarkus.websocket") public interface WebsocketConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If the websocket methods should be run in a worker thread.
    int
    The maximum amount of data that can be sent in a single frame.
  • Method Details

    • maxFrameSize

      @WithDefault("65536") 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

      @WithDefault("false") 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.