OpenResty® 通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台

最新! OpenResty 已发布。
最新! 新博客文章 新增针对 Debian 11 的 OpenResty 官方安装包仓库 已发表。
最新! 新博客文章 让机器从电影剧本自动生成百度搜索的演示视频 已发表。

Lua Resty Web Socket Library

Yichun Zhang , 30 Sep 2013 (created 30 Sep 2013)

This Lua library implements both a nonblocking WebSocket server and a nonblocking WebSocket client based on Lua Nginx Module's cosocket API.

Project homepage:

This library is enabled by default. You can specify the --without-lua_resty_websocket option to OpenResty's ./configure script to explicitly disable it.