aliakh/demo-spring-sse

[discussion] How can will fit http2 into the picture?

johnmiroki opened this issue · 1 comments

With SSE, we now achieve server push. Can we add Http2 to the picture to achieve true bi-directional communication, and thus replace WebSocket?

Also,

in https://github.com/aliakh/demo-spring-sse#sse-network-protocol we can read that:

Connection: keep-alive indicates that a persistent connection is being used

This is not a valid statement taking HTTP/2 into account. See https://tools.ietf.org/html/rfc7540#section-8.1.2.2

HTTP/2 does not use the Connection header field to indicate connection-specific header fields;

BTW: great article 👍