sinatra/sinatra
Update streaming to make use of Rack "callable body"
Aberta
#1.892 aberto em 26 de fev. de 2023
featurehelp wanted
Métricas do repositório
- Stars
- (12.420 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Instead of adding support for either full or partial hijack, Sinatra should make use of "callable body" (https://github.com/rack/rack/pull/1745) introduced with Rack 3: https://github.com/rack/rack/blob/9eb4aa2646fdaaf22c7f6a9fa4c6dc73e587204f/UPGRADE-GUIDE.md#response-bodies-can-be-used-for-bi-directional-streaming
Originally posted by @dentarg in https://github.com/sinatra/sinatra/issues/604#issuecomment-1426416959