burakoner / OKEx.Net

Open source .Net API wrapper for the @OKEx V5 Rest API and V5 Websocket API
MIT License
86 stars 48 forks source link

feature:Support Http Reverse Proxy #66

Closed dameng324 closed 2 years ago

dameng324 commented 2 years ago

There is some sign issue when use http-reverse-proxy: Sign Path should use Uri.AbsolutePath instead of Replace("https://www.okx.com", "")

I have already fix it in this PR.

burakoner commented 2 years ago

I cant use Uri.AbsolutePath because I need query string as well. I changed codes as uri.PathAndQuery. Thank you