Add TClientBufferedStream class
commit50eab2ca31d1081b1b0947f356319bc6098fe8c8
authorRashmi Makheja <rashmim@fb.com>
Fri, 4 Jun 2021 21:26:52 +0000 (4 14:26 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 4 Jun 2021 21:28:36 +0000 (4 14:28 -0700)
tree75fbc27774a7199605caeeedd75c1bd2406c46d4
parent91bc3cb31c55ef8ab87e29c48a90de3404b53e4a
Add TClientBufferedStream class

Summary:
`TClientBufferedStream` - This is the wrapper for hack async generator.
It has the `ClientStreamBridge` object that will be used to fill the local buffer.

To Do -
Add methods to get the iterator and get the payload

Related previous diffs by Andrii - D27015202D20320486

Reviewed By: iahs

Differential Revision: D28264493

fbshipit-source-id: 579b0e070160393669fa932c9d2535b47182c43a
hphp/runtime/ext/thrift/ext_thrift.cpp
hphp/runtime/ext/thrift/ext_thrift.h