This changes beams socket protocol from the bidirectional sockets interface to a unidirectional streaming interface. This change was motivated by several practical issues with proxies that did not allow http request upgrades by default.
The new approach uses streaming http bodies which should be supported by all regular proxies.
Open questions:
[ ] Should we rename the endpoints from /v1/sockets to /v1/stream[s]
[x] ~There seems to be a regression with the tasks endpoint~
This changes beams socket protocol from the bidirectional sockets interface to a unidirectional streaming interface. This change was motivated by several practical issues with proxies that did not allow http request upgrades by default. The new approach uses streaming http bodies which should be supported by all regular proxies.
Open questions:
/v1/sockets
to/v1/stream[s]