Comments (1)
Hi,
WebSocket is one of the application-layer protocols, just like HTTP.
gnet
is a networking library which works on the transportation layer, users use gnet
to implement their own servers, if you want a HTTP server then implement HTTP protocol upon gnet
, therefore if you want a WebSocket service then implement the WebSocket protocol upon gnet
.
gnet
will only provide the transport-layer network APIs, the implementation of application-layer protocol is out of the scope of gnet
, please note.
from gnet.
Related Issues (20)
- [Feature]: 实现异步非阻塞的PacketConn接口,从而支持quic协议 HOT 2
- [Bug]: windows下的实现似乎有bug HOT 2
- [Question]: Does gnet support a websocket server that can handle different URL patterns HOT 1
- [Question]:详细的说明文档,说明什么情况下应用程序应该主动调用close方法呢 HOT 19
- [Question]: 请问 多网卡情况下,在 udp 的 OnTraffic 事件里面,怎么得到接收数据的网络接口呢 HOT 1
- [Question]: 请教运行在serverless中http的Keep-Alive应该如何配置 HOT 2
- [Question]: 数据超过65535时多次触发OnTraffic如何处理数据? HOT 2
- [Question]: 重启gnet.server需要如何做? HOT 6
- [Question]: 请问作者是否有异步读取的最佳实践示例呢? HOT 1
- [Question]:自定义codec中是否会存在接受header失败导致后续数据都无法正确获取的情况 HOT 1
- [Feature]: 添加pool来管理asyncwritev的内存, 以及客户端的api是否可以独立于服务端 HOT 7
- [Question]: IO Wait如何解决 HOT 3
- [Question]: conn_map.go:66 panic concurrent map read and map write HOT 2
- [Question]: 可疑的CPU占用 HOT 8
- [Question]: gnet打印很多error occurs in user-defined function, use of closed network connection HOT 1
- 哥 client 的使用好复杂啊 HOT 3
- [Question]: Server端回包立刻关闭连接,OnTraffic 收不到最后一个包的数据 HOT 11
- [Question]: ReadFrom系列函数的作用 HOT 1
- [Feature]: Support for SO_BINDTODEVICE? HOT 4
- 一条链接往外写数据,内存增长很快。 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnet.