Documentation
    Preparing search index...

    Properties for the closure.

    contracts/common.md#principled-implementation The record carries what a password closure can choose by: the request or response headers, the body text, and whether the body is being encoded or decoded.

    contracts/common.md#clear-and-simple-design A three-field record with no behavior.

    contracts/common.md#prohibited-implementation-shortcuts It is a type and adds no runtime behavior.

    contracts/common.md#meaningful-documentation The comment names it as the closure's properties; the direction values are self-descriptive.

    interface IProps {
        body: string;
        direction: "encode" | "decode";
        headers: Record<string, HeaderValue | undefined>;
    }
    Index
    body: string
    direction: "encode" | "decode"
    headers: Record<string, HeaderValue | undefined>