Skip to content

rulvar API reference


rulvar API reference / @rulvar/testing / requestHash

Function: requestHash()

ts
function requestHash(req): string;

Defined in: packages/testing/src/vcr.ts:109

The cassette key: a hash of the canonical wire-contract request. The engine-populated telemetry namespace is excluded (never identity); everything else the adapter would send keys the row.

Parameters

ParameterType
reqChatRequest

Returns

string