Skip to content

add config an http agent #37

@jiaqingw

Description

@jiaqingw

I'd like to add a nodejs request compatible agent configuration.

        if(this.__config.agent !== undefined) {
            requestOptions.agent = this.__config.agent;
        }

in VaultApiClient class constructor. this way, user can pass in e.g. a sockproxyagent to handle the client request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions