Skip to content

"LDConfigSetProxyURI" not available in 3.0 #394

Closed as not planned
Closed as not planned

Description

@ngangomsamananda

Is your feature request related to a problem? Please describe.
I see in https://docs.launchdarkly.com/sdk/features/web-proxy mentioned "LDConfigSetProxyURI" is not availble in 3.0 yet. We need the replacement of LDConfigSetProxyURI in our application. I don't see any ticket on this. So, I have created this ticket to track on the issue.

When can we expect this feature? It will be nice if you could provide all the API's which are in v2.x. Upgrading client sdk to v3.x is delay due to unavailable of equivalent API's.

Describe the solution you'd like
A replacement for LDConfigSetProxyURI in v3.x.
LDConfigSetProxyURI : Set the proxy server used for connecting to LaunchDarkly.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

Activity

  1. added
    package: sdk/client
    on Apr 12, 2024
  2. cwaldren-ld commented on Apr 12, 2024

    @cwaldren-ld
    Contributor

    Hi @ngangomsamananda, are you using an HTTP/HTTPS proxy or SOCKS?

    If you are using HTTP/HTTPS, you should be able to use this workaround:

    LDClientConfigBuilder ConfigBuilder = LDClientConfigBuilder_New(mobile_key);
    
    LDClientConfigBuilder_ServiceEndpoints_RelayProxyBaseURL(ConfigBuilder, "https://your-proxy-url:your-port");

    This is intended for using Relay Proxy, but it should also work for setting a general proxy URI.

    At the moment, the SDK does not support SOCKS protocol. Please let me know if that is what you require.

    (Note: I am out of office next week, so won't be able to respond.)

  3. added
    enhancement
    on Apr 12, 2024
  4. self-assigned this
    on Apr 12, 2024
  5. ngangomsamananda commented on Apr 13, 2024

    @ngangomsamananda
    Author

    @cwaldren-ld Yes, we are using the HTTPS proxy. I will use the workaround which you have provided. Thank you.

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

Metadata

Metadata

Assignees

Labels

enhancementpackage: sdk/client

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions