Closed Jericho closed 4 months ago
Thanks! I assume the underlying client uses an enum to allow for more values in the future. While the bool streamResponse
option is simpler, should we expose the enum instead to match the base client (since it's meant to be a thin wrapper)?
For example, it would look something like this:
IResponse response = await client
.GetAsync("endpoint")
.WithOptions(completeWhen: HttpCompletionOption.ResponseHeadersRead);
No objection. Pushing an update with these changes in a few minutes...
Merged into develop
for the upcoming FluentHttpClient 4.4.0. Thanks for the help!
Resolves #123