OpenResty® Scalable Web Platform by Extending NGINX with Lua

New! OpenResty 1.21.4.1 is now released!
New! Test::Nginx 0.30 is now released!
New! New blog post Configure HTTP basic auth in OpenResty Edge is published.
New! New blog post How to use custom dynamic metrics in OpenResty Edge is published.
New! New blog post Limit Request Rate by Custom Keys in OpenResty Edge is published.

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: https://github.com/agentzh/lua-resty-websocket

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