ChunkedHttpRequestMessageHandlerApplyDecompression(Stream, Boolean) Method

Applies the decompression algorithm specified by ContentEncoding to the specified Stream.


Namespace: TcHmiSrv.Core.Tools.Net.Http.Handlers
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public Stream ApplyDecompression(
    Stream stream,
    bool leaveOpen
)

Parameters

stream  Stream

The Stream to which to apply the decompression algorithm.

leaveOpen  Boolean

true to leave stream open after disposing the returned decompression Stream; otherwise, false.

Return Value

Stream
A Stream that writes decompressed data to stream. -or- stream if ContentEncoding is null or string.Empty.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ChunkedHttpRequestMessageHandler Class ApplyDecompression Overload TcHmiSrv.Core.Tools.Net.Http.Handlers Namespace

Copyright © Beckhoff Automation GmbH & Co. KG