Class CompressionHelper
- Namespace
- Fluxzy.Extensions
- Assembly
- Fluxzy.Core.dll
public static class CompressionHelper
- Inheritance
-
CompressionHelper
- Inherited Members
-
Methods
GetDecodedRequestBodyStream(ExchangeInfo, Stream, out CompressionType, bool)
public static Stream GetDecodedRequestBodyStream(this ExchangeInfo exchangeInfo, Stream requestBodyStream, out CompressionType compressionType, bool skipForwarded = false)
Parameters
exchangeInfo
ExchangeInfo
requestBodyStream
Stream
compressionType
CompressionType
skipForwarded
bool
Returns
- Stream
GetDecodedResponseBodyStream(ExchangeInfo, Stream, out CompressionType, bool)
public static Stream GetDecodedResponseBodyStream(this ExchangeInfo exchangeInfo, Stream responseBodyInStream, out CompressionType compressionType, bool skipForwarded = false)
Parameters
exchangeInfo
ExchangeInfo
responseBodyInStream
Stream
compressionType
CompressionType
skipForwarded
bool
Returns
- Stream
ReadResponseBodyContent(ExchangeInfo, Stream, int, out CompressionInfo)
public static byte[]? ReadResponseBodyContent(this ExchangeInfo exchangeInfo, Stream responseBodyInStream, int maximumLength, out CompressionInfo compressionInfo)
Parameters
exchangeInfo
ExchangeInfo
responseBodyInStream
Stream
maximumLength
int
compressionInfo
CompressionInfo
Returns
- byte[]