Table of Contents

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 ExchangeInfo
archiveReader IArchiveReader
settings FormatSettings

Properties

ArchiveReader

public IArchiveReader ArchiveReader { get; }

Property Value

IArchiveReader

CompressionInfo

public CompressionInfo? CompressionInfo { get; }

Property Value

CompressionInfo

Exchange

public ExchangeInfo Exchange { get; }

Property Value

ExchangeInfo

IsTextContent

public bool IsTextContent { get; set; }

Property Value

bool

RequestBody

public ReadOnlyMemory<byte> RequestBody { get; }

Property Value

ReadOnlyMemory<byte>

RequestBodyLength

public long RequestBodyLength { get; }

Property Value

long

RequestBodyText

If first 1024 utf8 chars are printable char, this property will contains the decoded UTF8 text

public string? RequestBodyText { get; }

Property Value

string

ResponseBody

public ReadOnlyMemory<byte> ResponseBody { get; }

Property Value

ReadOnlyMemory<byte>

ResponseBodyContent

public byte[]? ResponseBodyContent { get; }

Property Value

byte[]

ResponseBodyLength

public long? ResponseBodyLength { get; }

Property Value

long?

ResponseBodyText

public string? ResponseBodyText { get; }

Property Value

string

Settings

public FormatSettings Settings { get; }

Property Value

FormatSettings

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetContextInfo()

public ExchangeContextInfo GetContextInfo()

Returns

ExchangeContextInfo