Class ExchangeExtensions
- Namespace
- Fluxzy.Extensions
- Assembly
- Fluxzy.Core.dll
public static class ExchangeExtensions
- Inheritance
-
ExchangeExtensions
- Inherited Members
-
Methods
public static IEnumerable<HeaderFieldInfo> Find(this IEnumerable<HeaderFieldInfo> headers, string headerName)
Parameters
headers
IEnumerable<HeaderFieldInfo>
headerName
string
Returns
- IEnumerable<HeaderFieldInfo>
GetRequestCompressionType(ExchangeInfo)
public static CompressionType GetRequestCompressionType(this ExchangeInfo exchangeInfo)
Parameters
exchangeInfo
ExchangeInfo
Returns
- CompressionType
public static string? GetRequestHeaderValue(this IExchange exchangeInfo, string headerName)
Parameters
exchangeInfo
IExchange
headerName
string
Returns
- string
GetResponseCompressionType(ExchangeInfo)
public static CompressionType GetResponseCompressionType(this ExchangeInfo exchangeInfo)
Parameters
exchangeInfo
ExchangeInfo
Returns
- CompressionType
GetResponseEncoding(ExchangeInfo)
public static Encoding? GetResponseEncoding(this ExchangeInfo exchangeInfo)
Parameters
exchangeInfo
ExchangeInfo
Returns
- Encoding
public static string? GetResponseHeaderValue(this IExchange exchangeInfo, string headerName)
Parameters
exchangeInfo
IExchange
headerName
string
Returns
- string
IsRequestChunkedTransferEncoded(ExchangeInfo, bool)
public static bool IsRequestChunkedTransferEncoded(this ExchangeInfo exchangeInfo, bool skipForwarded = false)
Parameters
exchangeInfo
ExchangeInfo
skipForwarded
bool
Returns
- bool
IsResponseChunkedTransferEncoded(ExchangeInfo, bool)
public static bool IsResponseChunkedTransferEncoded(this ExchangeInfo exchangeInfo, bool skipForwarded = false)
Parameters
exchangeInfo
ExchangeInfo
skipForwarded
bool
Returns
- bool