spring cloud gateway 转发websocket请求无法监听到 close 事件

  • 升级spring cloud gateway 的 spring-boot-starter-parent 版本 至 2.1.1.RELEASE 及以上



<parent>

   <groupId>org.springframework.boot</groupId>

   <artifactId>spring-boot-starter-parent</artifactId>

   <version>2.1.1.RELEASE</version>

   <relativePath/>

</parent>

<artifactId>game-gateway</artifactId>

<version>1.0-SNAPSHOT</version>

<packaging>jar</packaging>

<name>${project.artifactId}</name>

<dependencyManagement>

   <dependencies>

       <dependency>

           <groupId>org.springframework.cloud</groupId>

           <artifactId>spring-cloud-dependencies</artifactId>

           <version>Greenwich.SR1</version>

           <type>pom</type>

           <scope>import</scope>

       </dependency>

   </dependencies>

</dependencyManagement>



posted @ 2020-10-19 07:29  jasondayee  阅读(817)  评论(0编辑  收藏  举报