Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JsonGzipHttpClient.cs #191

Merged
merged 1 commit into from
May 7, 2021

Conversation

AntonSmolkov
Copy link
Contributor

Add data flushing from gzipStream to underlying stream.

MSDN says:

The write operation might not occur immediately but is buffered until the buffer size is reached or until the Flush or Close method is called.

C# 8 using var does not make it flushed automatically because it

tells the compiler that the variable being declared should be disposed at the end of the enclosing scope

Description

Fixes #190

@FantasticFiasco FantasticFiasco merged commit bac2846 into FantasticFiasco:master May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JsonGzipHttpClient does not work
2 participants