Skip to content

zhfish/tio-websocket-spring-boot-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tio-websocket-spring-boot-starter

Intro

spring-spring-boot-starter for tio-websocket

Starter Repo

Github Sample
Gitee Sample

T-io Repo

Gitee Sample

Sample Repo

Github Sample
Gitee Sample

Install

  • 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>

Use

Require:

  • @EnableTioWebsocketConfiguration
  • @TioController
  • @TIOnHandshake
  • @TIOnClose

Require eigher:

  • @TIOn(Text or Bytes)
  • or
  • @TIOnBefore(Text or Bytes)
  • @TIOnMap
  • @TIOnMap("event")

About

starter for tio-websocket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages