Starting a session within a ratchet websocket connection

后端 未结 1 794
余生分开走
余生分开走 2021-01-13 03:38

We have built a Ratchet websocket server that serves a standalone client application. The server is running on port 8080, and our Symfony app is running on port 80. It\'s cr

相关标签:
1条回答
  • 2021-01-13 03:53

    I believe by default creating a new Symfony Session class will use global variables. Ratchet provides a Session middleware class that will attach a Symfony Session object to each ConnectionInterface.

    0 讨论(0)
提交回复
热议问题