Symfony 5 Real-time Chat App - Mercure [Part 3\4] (OUTDATED, READ DESC)

Опубликовано: 04 Май 2020
на канале: OverSeas Media
13,010
83

This tutorial is outdated, most of will work just fine except for one thing they changed in a new update, When creating a new Update in the video i passed three options, the first was an array of topics, that has not changed, the second was the data, that remains as well unchanged, the third option however is the one that changed, it used to be an array of targets, now it's just a boolean, this parameter by default is set to false, which means this is a public update, but in the case of my video this needs to be true because the message is going to a certain guy and not everyone.

Important note, if you get a cors headers problem just add http:// to the CORS_ALLOWED_ORIGINS option when running the binary, the url will look like this "http://localhost:8000"

This video will be the third out of four videos covering how to make a real time chat application using Symfony5, Mercure and Vuejs.

This videos covers the following:
Install and configure the mercure server.
Generating a JWT token for the users in a cookie.
Expose the Link headers for discovery.
Publish to multiples topic and also to specific targets.
Github repository (commit): https://github.com/konshensx16/mercur...

If you have any questions please let me know in the comments or via email.


Смотрите видео Symfony 5 Real-time Chat App - Mercure [Part 3\4] (OUTDATED, READ DESC) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь OverSeas Media 04 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,010 раз и оно понравилось 83 людям.