Interface IArchiveReader
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
GetDecodedResponseBody(int)
Get the decoded (unchunked and uncompressed) response body of an exchange
Stream? GetDecodedResponseBody(int exchangeId)
Parameters
exchangeId
int
Returns
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
GetRawCaptureStream(int)
Get a rawcapture stream of a connection
Stream? GetRawCaptureStream(int connectionId)
Parameters
connectionId
int
Returns
GetRequestBody(int)
Get the request body of an exchange
Stream? GetRequestBody(int exchangeId)
Parameters
exchangeId
int
Returns
GetRequestBodyLength(int)
Get the response body of an exchange
long GetRequestBodyLength(int exchangeId)
Parameters
exchangeId
int
Returns
GetRequestWebsocketContent(int, int)
Get request websocket content
Stream? GetRequestWebsocketContent(int exchangeId, int messageId)
Parameters
Returns
GetResponseBody(int)
Get the response body of an exchange
Stream? GetResponseBody(int exchangeId)
Parameters
exchangeId
int
Returns
GetResponseBodyLength(int)
Get the response body of an exchange
long GetResponseBodyLength(int exchangeId)
Parameters
exchangeId
int
Returns
GetResponseWebsocketContent(int, int)
Get response websocket content
Stream? GetResponseWebsocketContent(int exchangeId, int messageId)
Parameters
Returns
HasCapture(int)
Check if a connection has a raw capture file
bool HasCapture(int connectionId)
Parameters
connectionId
int
Returns
HasRequestBody(int)
Check if an exchange has a request body
bool HasRequestBody(int exchangeId)
Parameters
exchangeId
int
Returns
HasResponseBody(int)
Check if an exchange has a response body
bool HasResponseBody(int exchangeId)
Parameters
exchangeId
int
Returns
ReadAllConnections()
Read all connections from the archive
IEnumerable<ConnectionInfo> ReadAllConnections()
Returns
ReadAllExchanges()
Read all exchanges from the archive
IEnumerable<ExchangeInfo> ReadAllExchanges()
Returns
ReadConnection(int)
Read a connection from the archive
ConnectionInfo? ReadConnection(int connectionId)
Parameters
connectionId
int
Returns
ReadExchange(int)
Read an exchange from the archive
ExchangeInfo? ReadExchange(int exchangeId)
Parameters
exchangeId
int
Returns
ReadMetaInformation()
Read meta information from the archive
ArchiveMetaInformation ReadMetaInformation()
Returns
ReaderAllDownstreamErrors()
Read all downstream errors from the archive
IReadOnlyCollection<DownstreamErrorInfo> ReaderAllDownstreamErrors()