CustomHeaders: Record<string, string> | ((requestOptions?) => 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

    • (requestOptions?): Promise<Record<string, string>>
    • Parameters

      Returns Promise<Record<string, string>>