ChunkedHttpRequestMessageHandlerApplyDecompression(Stream, String, Boolean) Method

Applies a decompression algorithm 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 static Stream ApplyDecompression(
    Stream stream,
    string name,
    bool leaveOpen
)

Parameters

stream  Stream

The Stream to which to apply the decompression algorithm.

name  String

The name of the decompression algorithm to find in Compressors an ICompressor that implements this 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.

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