Skip to content

Conversation

@darrachequesne
Copy link
Member

Rebased from #1921.

@darrachequesne darrachequesne merged commit c0c79f0 into socketio:master Feb 28, 2018
@darrachequesne darrachequesne deleted the feat/dynamic-namespace branch February 28, 2018 23:22
@darrachequesne darrachequesne added this to the 2.1.0 milestone Feb 28, 2018
darrachequesne added a commit to darrachequesne/socket.io that referenced this pull request Mar 8, 2018
darrachequesne added a commit to darrachequesne/socket.io that referenced this pull request Mar 14, 2018
darrachequesne added a commit that referenced this pull request Mar 29, 2018
This follows #3187, with a slightly different API.

A dynamic namespace can be created with:

```js
io.of(/^\/dynamic-\d+$/).on('connect', (socket) => { /* ... */ });
```
@adamreisnz
Copy link

Too bad this never made it into the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants