Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Proxy Configuration #40

Open
Ekastech opened this issue Jun 10, 2024 · 1 comment
Open

Support Proxy Configuration #40

Ekastech opened this issue Jun 10, 2024 · 1 comment

Comments

@Ekastech
Copy link

When attempting to connect to Salesforce using the CometD.NetCore library from within an organization's network, which is behind a proxy, the connection fails. This is because the library uses HttpWebRequest internally, which does not automatically inherit the proxy settings configured in HttpClient.

To support proxy configurations, it would be helpful if the LongPollingTransport and other relevant classes could accept proxy settings. This would involve modifying the classes to use an HttpClient that is configured with the necessary proxy settings or directly setting the proxy on HttpWebRequest.

@Ekastech
Copy link
Author

Could someone pls have a look at this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant