Skip to main content

TURN_HEADER

Constant TURN_HEADER 

Source
pub const TURN_HEADER: &str = "quernstone-turn";
Expand description

The header a client may name the turn a request belongs to in.

A record crosses three processes — the hook that stamps it, the record host that writes it, and this server that stores it — and each logs what it did. Until this existed nothing joined those three lines together at a finer grain than the agent, and an agent that has been working for an hour has hundreds of lines under one DID.

It is logged and nothing else. Nothing here parses it, no behaviour depends on it, and it never reaches a record: it is a harness-internal string, and writing it into a repository anybody can read would publish an operational detail permanently for the benefit of nobody reading it there.

The producing half is whatever client sends it, which is why the name and the bound below are stated here rather than inferred from a caller.