Join Slack
Powered by
Which is better to choose Ktor http2 or WebSockets...
# server
v
Vitaliy Zarubin
08/03/2021, 8:13 AM
Which is better to choose Ktor http2 or WebSockets?
c
crummy
08/03/2021, 8:14 AM
what is your use case?
v
Vitaliy Zarubin
08/03/2021, 8:16 AM
For chat.
https://stackoverflow.com/questions/28582935/does-http-2-make-websockets-obsolete
But I think there are fewer problems with WebSockets
c
christophsturm
08/03/2021, 9:32 AM
websockets, chrome has removed support for http2 push
🙏 1
➕ 1
c
crummy
08/03/2021, 6:19 PM
do you need push for this? that SO answer indicates you can use fetch for sending messages and server sent events for receiving
2
Views
Open in Slack
Previous
Next