Skip to content

Request adding http proxy support #138

Closed

Description

@phrinx

earlier version of the lib provided a way to set http client, so any users was able to configure http proxy. for some reason this support was removed in v3? https://github.com/sendgrid/sendgrid-java/pull/27/files#diff-e71bc6d543f1733c4a2bdbb11c154eecR44

providing a way to pass in http client instance would also help: https://github.com/sendgrid/sendgrid-java/blob/v2.2.2/src/main/java/com/sendgrid/SendGrid.java#L88

Activity

  1. added
    type: community enhancement
    status: help wanted
    on Sep 12, 2016
  2. thinkingserious commented on Sep 12, 2016

    @thinkingserious
    Contributor

    Hi @phrinx,

    This is now on our backlog to implement.

    To help this issue rise up in our queue, it will need +1s or a pull request with a signed CLA.

    Thanks!

  3. phrinx commented on Sep 12, 2016

    @phrinx
    Author

    Thanks. This is critical for us as we integrated a production system with large amounts of traffic with v2 (using http proxy for security purposes) and are blocked to upgrade to v3 since this support was dropped. Please consider prioritizing...

  4. thinkingserious commented on Sep 12, 2016

    @thinkingserious
    Contributor

    @phrinx,

    We are not deprecating v2, so you are safe to continue using it until we make this upgrade.

  5. dmaicher commented on Oct 9, 2016

    @dmaicher
    Contributor

    I proposed a PR that should fix your issue: #158

    That way you can do:

    Client client = new Client(yourHttpClient);
    SendGrid sendGrid = new SendGrid(apiKey, client);
    
  6. added a commit that references this issue on Oct 11, 2016
  7. thinkingserious commented on Oct 11, 2016

    @thinkingserious
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: help wantedtype: community enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions