mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-09 15:08:12 -05:00
This follows #3187, with a slightly different API. A dynamic namespace can be created with: ```js io.of(/^\/dynamic-\d+$/).on('connect', (socket) => { /* ... */ }); ```