eealeivan / mixpanel-csharp

Mixpanel C# integration library
MIT License
63 stars 15 forks source link

WebProxy #27

Closed ChrisIsJustADev closed 2 years ago

ChrisIsJustADev commented 2 years ago

Hi,

I would like to add a Proxy / configuration to the MixPanelClient. How can I do that?

BR Chris

eealeivan commented 2 years ago

Hi!

You can provide your own implementation of HTTP POST functionality as described here https://github.com/eealeivan/mixpanel-csharp/wiki/Configuration#http-post-method

As you can see the default implementation is very straightforward https://github.com/eealeivan/mixpanel-csharp/blob/master/src/Mixpanel/Mixpanel/DefaultHttpClient.cs