Skip to content

Lupa API Reference / network/types / NetworkEvaluateResult

Type Alias: NetworkEvaluateResult

NetworkEvaluateResult = { action: "continue"; } | { action: "fulfill"; body: string | null; delay?: number; error?: string; headers: Record<string, string>; isBase64: boolean; status: number; }

Defined in: src/network/types.ts:99

The serialized result returned from the Node environment to the Browser environment after evaluating all active network mocks against an intercepted request.