Windows.Web.Http.HttpBufferContent

May 17, 2019 ยท View on GitHub

-description

Provides HTTP content that uses a buffer.

-remarks

When sending (POST method) an HttpBufferContent class, the HttpProgress.BytesSent value jumps from 0% bytes sent to 100% bytes sent in one progress event, because the whole buffer is moved to lower network APIs all at once. For more detailed progress, use HttpStreamContent instead of HttpBufferContent, because streams are read and sent in smaller chunks, resulting in more progress events. E.g. 0 bytes sent, 65536 bytes sent, 131072 bytes sent, etc.

-examples

-see-also

IClosable, IHttpContent, IStringable