OpenResty logo

OpenResty® Scalable Web Platform by Extending NGINX with Lua

Search
OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more
OpenResty
New! OpenResty 1.31.1.1 is now released!
OpenResty
New! OpenResty 1.29.2.5 is now released!
OpenResty XRay logo
New! New blog post OpenResty XRay Version 26.7.15. Now Available is published.
OpenResty Edge internal traffic
New! New blog post Taming Internal Traffic Chaos with 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.