Table of Contents

Interface IArchiveReader

Namespace
Fluxzy.Readers
Assembly
Fluxzy.Core.dll

The expected behavior of an archive reader

public interface IArchiveReader : IDisposable
Inherited Members

Methods

GetDecodedRequestBody(int)

Get the decoded (unchunked and uncompressed) request body of an exchange

Stream? GetDecodedRequestBody(int exchangeId)

Parameters

exchangeId int

Returns

Stream

GetDecodedResponseBody(int)

Get the decoded (unchunked and uncompressed) response body of an exchange

Stream? GetDecodedResponseBody(int exchangeId)

Parameters

exchangeId int

Returns

Stream

GetRawCaptureKeyStream(int)

Get a rawcapture key stream of a connection. The content of the stream is an UTF8 string in NSS Key log format

Stream? GetRawCaptureKeyStream(int connectionId)

Parameters

connectionId int

Returns

Stream

GetRawCaptureStream(int)

Get a rawcapture stream of a connection

Stream? GetRawCaptureStream(int connectionId)

Parameters

connectionId int

Returns

Stream

GetRequestBody(int)

Get the request body of an exchange

Stream? GetRequestBody(int exchangeId)

Parameters

exchangeId int

Returns

Stream

GetRequestBodyLength(int)

Get the response body of an exchange

long GetRequestBodyLength(int exchangeId)

Parameters

exchangeId int

Returns

long

GetRequestWebsocketContent(int, int)

Get request websocket content

Stream? GetRequestWebsocketContent(int exchangeId, int messageId)

Parameters

exchangeId int
messageId int

Returns

Stream

GetResponseBody(int)

Get the response body of an exchange

Stream? GetResponseBody(int exchangeId)

Parameters

exchangeId int

Returns

Stream

GetResponseBodyLength(int)

Get the response body of an exchange

long GetResponseBodyLength(int exchangeId)

Parameters

exchangeId int

Returns

long

GetResponseWebsocketContent(int, int)

Get response websocket content

Stream? GetResponseWebsocketContent(int exchangeId, int messageId)

Parameters

exchangeId int
messageId int

Returns

Stream

HasCapture(int)

Check if a connection has a raw capture file

bool HasCapture(int connectionId)

Parameters

connectionId int

Returns

bool

HasRequestBody(int)

Check if an exchange has a request body

bool HasRequestBody(int exchangeId)

Parameters

exchangeId int

Returns

bool

HasResponseBody(int)

Check if an exchange has a response body

bool HasResponseBody(int exchangeId)

Parameters

exchangeId int

Returns

bool

ReadAllConnections()

Read all connections from the archive

IEnumerable<ConnectionInfo> ReadAllConnections()

Returns

IEnumerable<ConnectionInfo>

ReadAllExchanges()

Read all exchanges from the archive

IEnumerable<ExchangeInfo> ReadAllExchanges()

Returns

IEnumerable<ExchangeInfo>

ReadConnection(int)

Read a connection from the archive

ConnectionInfo? ReadConnection(int connectionId)

Parameters

connectionId int

Returns

ConnectionInfo

ReadExchange(int)

Read an exchange from the archive

ExchangeInfo? ReadExchange(int exchangeId)

Parameters

exchangeId int

Returns

ExchangeInfo

ReadMetaInformation()

Read meta information from the archive

ArchiveMetaInformation ReadMetaInformation()

Returns

ArchiveMetaInformation

ReaderAllDownstreamErrors()

Read all downstream errors from the archive

IReadOnlyCollection<DownstreamErrorInfo> ReaderAllDownstreamErrors()

Returns

IReadOnlyCollection<DownstreamErrorInfo>