polarity-integration-utils
    Preparing search index...

    Type Alias BeforeRequestHook

    BeforeRequestHook: (
        requestOptions: HttpRequestOptions,
        userOptions: DoLookupUserOptions,
    ) => Promise<HttpRequestOptions>

    Hook that runs before an HTTP request is made. Each hook receives the output of the previous hook, allowing request options to be modified in a chain.

    Typically used for adding authentication headers or conditionally modifying request options based on user options.

    Type Declaration