mfrachet/server-push-hooks

Support namespaces

Closed this issue · 2 comments

Hi, I have two different namespaces that I have to connect and I can see that you don't support namespaces right now. Is there any chance you can add this soon? If you can't, I can submit a pull request to add this feature

Can you give me your actual example so that I can't take a look and try to provide something that matches your need? 😊

Isn't it possible to use namsespaces through the URL?

Like:

const App = () => (
  <ClientSocket url="https://some-tweet-socket-listener/NAMESPACE">
    <Twitter />
  </ClientSocket>
);