Logos DX
    Preparing search index...

    Interface ValidateConfig<H, P, S>

    Validation configuration for headers, params, and state.

    interface ValidateConfig<H, P, S> {
        headers?: (headers: DictAndT<H>, method?: _InternalHttpMethods) => void;
        params?: (params: DictAndT<P>, method?: _InternalHttpMethods) => void;
        perRequest?: { headers?: boolean; params?: boolean };
        state?: (state: S) => void;
    }

    Type Parameters

    • H
    • P
    • S
    Index

    Properties

    headers?: (headers: DictAndT<H>, method?: _InternalHttpMethods) => void
    params?: (params: DictAndT<P>, method?: _InternalHttpMethods) => void
    perRequest?: { headers?: boolean; params?: boolean }
    state?: (state: S) => void