mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
update websocket examples - keep neffos and use the iris/websocket as helper only
Former-commit-id: c34b916e186286cd0de6d694d8bdb4f9390121a2
This commit is contained in:
@@ -425,23 +425,13 @@ Iris session 管理独立包 [package](https://github.com/kataras/iris/tree/mast
|
||||
|
||||
### Websockets
|
||||
|
||||
iris websocket库依赖于它自己的[包](https://github.com/kataras/iris/tree/master/websocket).
|
||||
|
||||
设计这个包的目的是处理原始websockets,虽然它的API和著名的[socket.io](https://socket.io)很像。我最近读了一片文章,并且对我
|
||||
决定给iris设计一个**快速的**websocket**限定**包并且不是一个向后传递类socket.io的包。你可以阅读这个链接里的文章https://medium.com/@ivanderbyl/why-you-don-t-need-socket-io-6848f1c871cd。
|
||||
|
||||
- [Basic](websocket/basic) **新**
|
||||
* [Server](websocket/basic/server.go)
|
||||
* [Go Client](websocket/basic/go-client/client.go)
|
||||
* [Browser Client](websocket/basic/browser/index.html)
|
||||
* [Browser NPM Client (browserify)](websocket/basic/browserify/app.js)
|
||||
- [原生消息](websocket/native-messages/main.go)
|
||||
- [连接列表](websocket/connectionlist/main.go)
|
||||
- [TLS支持](websocket/secure/main.go)
|
||||
- [自定义原始Go客户端](websocket/custom-go-client/main.go)
|
||||
- [第三方socket.io](websocket/third-party-socketio/main.go)
|
||||
|
||||
> 如果你愿意,你可以自由使用你自己喜欢的websockets包。
|
||||
- [原生消息](websocket/native-messages/main.go) **更新**
|
||||
- [TLS支持](websocket/secure/README.md)
|
||||
|
||||
### Typescript 自动化工具
|
||||
|
||||
|
||||
Reference in New Issue
Block a user