Skip to content

Can I set my own custom header for each request? #274

@blue-hope

Description

@blue-hope

The question may be a bit silly because I do not have a deep understanding of gax-nodejs and aip.

According to the generated code, it seems that the header is fixed with x-goog-api-client internally and Metadata is created with the header via metadataBuilder. Is it impossible to add other headers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions