class

FHttpRequestLog

Module
Http
Header
#include "Http/HttpRequestLog.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr size_tkCapacityDefault 512.
static constexpr size_tkPreviewBytesDefault 4096.

Public functions

ReturnsNameDescription
FHttpRequestLog&Get
voidSetEnabledRecording costs one lock and a copy per request; the panel switches it on while it is open, tooling can leave it on.
boolIsEnabled
uint64_tRecordAssigns the id; the oldest record is dropped once kCapacity is reached.
std::vector<FHttpRequestRecord>Snapshot
voidClear
HttpTimingTimingFromCumulativeCumulative curl times (seconds since the start of the transfer, 0 when a phase did not happen) split into non-overlapping phases.
FHttpRequestStatsComputeStats
doubleBandwidthBytesPerSecondBytes (request + response) of requests that finished inside (now - window, now], per second.
std::vector<float>BandwidthSeriesbucketCount bytes-per-second values, oldest first, each covering bucketSeconds and ending at now.
doubleNowSeconds

Function details

Get

C++
static FHttpRequestLog& Get()

SetEnabled

C++
void SetEnabled(bool enabled)

Recording costs one lock and a copy per request; the panel switches it on while it is open, tooling can leave it on.

IsEnabled

C++
bool IsEnabled() const

Record

C++
uint64_t Record(FHttpRequestRecord record)

Assigns the id; the oldest record is dropped once kCapacity is reached.

Snapshot

C++
std::vector<FHttpRequestRecord> Snapshot() const

Clear

C++
void Clear()

TimingFromCumulative

C++
static HttpTiming TimingFromCumulative(double nameLookup, double connect, double appConnect, double startTransfer, double total)

Cumulative curl times (seconds since the start of the transfer, 0 when a phase did not happen) split into non-overlapping phases.

ComputeStats

C++
static FHttpRequestStats ComputeStats(const std::vector<FHttpRequestRecord>& records)

BandwidthBytesPerSecond

C++
static double BandwidthBytesPerSecond(const std::vector<FHttpRequestRecord>& records, double nowSeconds, double windowSeconds)

Bytes (request + response) of requests that finished inside (now - window, now], per second.

BandwidthSeries

C++
static std::vector<float> BandwidthSeries(const std::vector<FHttpRequestRecord>& records, double nowSeconds, double bucketSeconds, int32_t bucketCount)

bucketCount bytes-per-second values, oldest first, each covering bucketSeconds and ending at now.

NowSeconds

C++
static double NowSeconds()
Generated from Http/HttpRequestLog.h via http.json · Dec 4, 2026Version 1.1.0