Class ProducerContext
- Namespace
- Fluxzy.Formatters
- Assembly
- Fluxzy.Core.dll
public class ProducerContext : IDisposable
- Inheritance
-
ProducerContext
- Implements
- Inherited Members
Constructors
ProducerContext(ExchangeInfo, IArchiveReader, FormatSettings)
public ProducerContext(ExchangeInfo exchange, IArchiveReader archiveReader, FormatSettings settings)
Parameters
exchange
ExchangeInfoarchiveReader
IArchiveReadersettings
FormatSettings
Properties
ArchiveReader
public IArchiveReader ArchiveReader { get; }
Property Value
CompressionInfo
public CompressionInfo? CompressionInfo { get; }
Property Value
Exchange
public ExchangeInfo Exchange { get; }
Property Value
IsTextContent
public bool IsTextContent { get; set; }
Property Value
RequestBody
public ReadOnlyMemory<byte> RequestBody { get; }
Property Value
RequestBodyLength
public long RequestBodyLength { get; }
Property Value
RequestBodyText
If first 1024 utf8 chars are printable char, this property will contains the decoded UTF8 text
public string? RequestBodyText { get; }
Property Value
ResponseBody
public ReadOnlyMemory<byte> ResponseBody { get; }
Property Value
ResponseBodyContent
public byte[]? ResponseBodyContent { get; }
Property Value
- byte[]
ResponseBodyLength
public long? ResponseBodyLength { get; }
Property Value
- long?
ResponseBodyText
public string? ResponseBodyText { get; }
Property Value
Settings
public FormatSettings Settings { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetContextInfo()
public ExchangeContextInfo GetContextInfo()