Skip to content

Commit 5e3e28f

Browse files
committed
Use proxyUrl parameter.
1 parent 55f6d89 commit 5e3e28f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

HISTORY.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v5.0.6
2+
* `EnableFiddlerDebugProxy` now uses the `proxyUrl` parameter instead of hard-coded `localhost` when debugging HTTP requests.
3+
14
## v5.0.5
25
* Issue #51 - Fixed model mismatch in `Sells.PlaceSellOrderAsync` and `PaymentMethods.ListPaymentMethodsAsync`.
36
* Added `EnableFiddlerDebugProxy` method on `CoinbaseClient` to help debug HTTP calls.

Source/Coinbase/CoinbaseClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public CoinbaseOAuthClient(OAuthConfig config) : base(config)
9696
/// <param name="proxyUrl">The full proxy URL Fiddler proxy is listening on. IE: http://localhost.:8888 - The period after localhost is important to include.</param>
9797
public void EnableFiddlerDebugProxy(string proxyUrl)
9898
{
99-
var webProxy = new WebProxy("http://localhost.:8888", BypassOnLocal: false);
99+
var webProxy = new WebProxy(proxyUrl, BypassOnLocal: false);
100100

101101
this.Configure(settings =>
102102
{

0 commit comments

Comments
 (0)