Interface BaseWebSocketHandler


public interface BaseWebSocketHandler
BaseWebSocketHandler 基本接口 请与 ScxWebSocketRoute 配合使用
Version:
1.0.10
Author:
scx567888
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onOpen(cool.scx.http.routing.WebSocketRoutingContext context)
    连接 打开 时
  • Method Details

    • onOpen

      default void onOpen(cool.scx.http.routing.WebSocketRoutingContext context) throws Exception
      连接 打开 时
      Parameters:
      context - 上下文
      Throws:
      Exception - e