CustomHeaders: Record<string, string> | (() => Promise<Record<string, string>>)

Custom headers that can be passed either to the client or to individual model operations, either as a static object or a function that returns a promise.

Type declaration

    • (): Promise<Record<string, string>>
    • Returns Promise<Record<string, string>>