下载文件
下载后请查杀木马病毒!确定

电光石火

陌晴博客
ilkhome.cn

标签关键词

关于 websocket 的文章共有3条

Error during WebSocket handshake: Unexpected response code

阅读(158)评论(0)

需要在配置文件nginx.conf中配置相关信息 nginx文件的location中添加 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 第一行告诉Nginx在与Node...

java

springboot vue整合websocket

阅读(1269)评论(1)

1.引入包 compile 'org.springframework.boot:spring-boot-starter-websocket' 2.新建类MyWebsocket import org.springframework.stereotype.Component; import javax.websocket.*; import ...

java

springboot整合websocket实现消息推送

阅读(575)评论(0)

maven依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat...