You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, will you be willing to add support for cancellation token in asynchronous methods of IFlurlResponse? Alternatively, accept a PR that adds that support? It can be a non-breaking change with those cancellation tokens having default value, similar to SendAsync() method from IFlurlRequest.
I'd like to pass the cancellation token when reading request response, so in case of large response I can cancel it, not wait till the end. With this change, I suspect that all Receive() extension methods should also accept cancellation token, since they directly use IFlurlResponse methods.
Let me know your thoughts about that.
The text was updated successfully, but these errors were encountered:
Hi, will you be willing to add support for cancellation token in asynchronous methods of
IFlurlResponse
? Alternatively, accept a PR that adds that support? It can be a non-breaking change with those cancellation tokens having default value, similar toSendAsync()
method fromIFlurlRequest
.I'd like to pass the cancellation token when reading request response, so in case of large response I can cancel it, not wait till the end. With this change, I suspect that all
Receive()
extension methods should also accept cancellation token, since they directly useIFlurlResponse
methods.Let me know your thoughts about that.
The text was updated successfully, but these errors were encountered: