Class UpgradeToWebSocketLowLevel

    • Constructor Detail

      • UpgradeToWebSocketLowLevel

        public UpgradeToWebSocketLowLevel()
    • Method Detail

      • handleFrames

        public abstract HttpResponse handleFrames​(<<FrameEvent,​FrameEvent>,​java.lang.Object> handlerFlow,
                                                  scala.Option<java.lang.String> subprotocol)
        The low-level interface to create WebSocket server based on "frames". The user needs to handle control frames manually in this case.

        Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied handler to handle incoming WebSocket frames.

        INTERNAL API (for now)

        handlerFlow - (undocumented)
        subprotocol - (undocumented)