Guest User

Untitled

a guest
Jan 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. gos_web_socket:
  2. server:
  3. port: 1337 #The port the socket server will listen on
  4. host: 127.0.0.1 #The host ip to bind to
  5. router:
  6. resources:
  7. - '%kernel.project_dir%/config/pubsub.yaml'
  8. topics:
  9. - "@app.topic.chat"
  10.  
  11. app_topic_chat:
  12. channel: 'app/chat/{first_user}/{second_user}'
  13. handler:
  14. callback: 'chat.topic' #related to the getName() of your topic
  15. requirements:
  16. first_user:
  17. pattern: 'd+' #accept all valid regex, don't put delimiters !
  18. second_user:
  19. pattern: 'd+'
  20.  
  21. !! In DelegatingLoader.php line 37:
  22. !!
  23. !! Cannot load resource "/var/www/html/cms/config/pubsub.yaml".
Add Comment
Please, Sign In to add comment