FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
raw_recorder.hpp File Reference

RawRecorder: appends every raw WebSocket frame to <dir>/<venue>-<channel>.jsonl (one frame per line, prefixed with the receive timestamp; binary frames as hex) so fixtures can be captured from a live session (fastmm-live --record-raw DIR, plan 8.8). More...

#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <span>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

class  fastmm::venues::RawRecorder
 

Namespaces

namespace  fastmm
 
namespace  fastmm::venues
 

Detailed Description

RawRecorder: appends every raw WebSocket frame to <dir>/<venue>-<channel>.jsonl (one frame per line, prefixed with the receive timestamp; binary frames as hex) so fixtures can be captured from a live session (fastmm-live --record-raw DIR, plan 8.8).

Off by default; when enabled it does buffered stdio writes on the net thread, so it is a diagnostic tool, not a hot-path feature.