ostinelli / net-http2

NetHttp2 is an HTTP/2 client for Ruby.
MIT License
140 stars 31 forks source link

Support Streaming Requests #34

Open alecjacobs5401 opened 5 years ago

alecjacobs5401 commented 5 years ago

Currently, this gem provides for the ability for asynchronous HTTP2 requests, but does now allow for maintaining a single HTTP2 requests that makes full usage of the bidirectional streaming capabilities of HTTP2.

When we open the stream connection and start sending data we immediate tell the stream to close.

Certain endpoints that make use of full bidirectional streaming in HTTP2 would require you to authenticate and maintain a streaming connection to send/receive data.

I'm planning on forking the repo and implementing this and would love to commit it back upstream if you feel this is something you would want.

Open to any input on design as well!