This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

RequestEntry Pennington.Tui

A single captured HTTP request, held in BoundedSequenceLog<RequestEntry>.

Properties

Duration System.TimeSpan
Wall time between request start and completion.
Method string
HTTP method (GET, POST, …).
Path string
Request path without query string.
QueryString string
Query string including the leading ?, or empty.
Sequence long
Default: 0
Monotonically increasing id assigned at append time; used to stream new rows into the TUI.
Status int
Default: 0
HTTP response status code.
Timestamp System.DateTimeOffset
When the request completed.

Constructors

.ctor

#
public readonly record struct RequestEntry(
    long Sequence,
    DateTimeOffset Timestamp,
    string Method,
    string Path,
    string QueryString,
    int Status,
    TimeSpan Duration);

A single captured HTTP request, held in BoundedSequenceLog<RequestEntry>.

Parameters

Sequence long
Monotonically increasing id assigned at append time; used to stream new rows into the TUI.
Timestamp DateTimeOffset
When the request completed.
Method string
HTTP method (GET, POST, …).
Path string
Request path without query string.
QueryString string
Query string including the leading ?, or empty.
Status int
HTTP response status code.
Duration TimeSpan
Wall time between request start and completion.

Pennington.Tui.RequestEntry

namespace Pennington.Tui;

/// A single captured HTTP request, held in BoundedSequenceLog<RequestEntry>.
public record RequestEntry
{
    /// A single captured HTTP request, held in BoundedSequenceLog<RequestEntry>.
    
public readonly record struct RequestEntry(
    long Sequence,
    DateTimeOffset Timestamp,
    string Method,
    string Path,
    string QueryString,
    int Status,
    TimeSpan Duration);
/// Wall time between request start and completion.
TimeSpan Duration
; /// HTTP method (GET, POST, …).
string Method
; /// Request path without query string.
string Path
; /// Query string including the leading ?, or empty.
string QueryString
; /// Monotonically increasing id assigned at append time; used to stream new rows into the TUI.
long Sequence
; /// HTTP response status code.
int Status
; /// When the request completed.
DateTimeOffset Timestamp
; }