spring-spring-boot-starter for tio-websocket
- dependency Spring-boot 2.0 +
- dependency Lombok Plugins
<dependency>
<groupId>net.zhfish.tio</groupId>
<artifactId>tio-websocket-spring-boot-starter</artifactId>
<version>0.0.1</version>
</dependency>Require:
@EnableTioWebsocketConfiguration@TioController@TIOnHandshake@TIOnClose
Require eigher:
@TIOn(Text or Bytes)- or
@TIOnBefore(Text or Bytes)@TIOnMap@TIOnMap("event")