@karmaniverous/smoz
    Preparing search index...

    Type Alias FunctionHttpCustomization

    Function-level HTTP customization surface (HTTP tokens only).

    type FunctionHttpCustomization = {
        extend?: {
            after?: MiddlewareObj[];
            before?: MiddlewareObj[];
            onError?: MiddlewareObj[];
        };
        options?: Partial<HttpStackOptions>;
        profile?: string;
        replace?: { stack: MiddlewareObj | PhasedArrays };
        transform?: HttpTransform;
    }
    Index

    Properties

    extend?: {
        after?: MiddlewareObj[];
        before?: MiddlewareObj[];
        onError?: MiddlewareObj[];
    }

    Simple injection points: append steps into phases

    Shallow options patch on top of selected profile/defaults

    profile?: string

    Picks one of app.http.profiles

    replace?: { stack: MiddlewareObj | PhasedArrays }

    Full replacement escape hatch

    transform?: HttpTransform

    Targeted transforms