Skip to content

Commit

Permalink
Use proxyUrl parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Feb 15, 2019
1 parent 55f6d89 commit 5e3e28f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v5.0.6
* `EnableFiddlerDebugProxy` now uses the `proxyUrl` parameter instead of hard-coded `localhost` when debugging HTTP requests.

## v5.0.5
* Issue #51 - Fixed model mismatch in `Sells.PlaceSellOrderAsync` and `PaymentMethods.ListPaymentMethodsAsync`.
* Added `EnableFiddlerDebugProxy` method on `CoinbaseClient` to help debug HTTP calls.
Expand Down
2 changes: 1 addition & 1 deletion Source/Coinbase/CoinbaseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public CoinbaseOAuthClient(OAuthConfig config) : base(config)
/// <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>
public void EnableFiddlerDebugProxy(string proxyUrl)
{
var webProxy = new WebProxy("http://localhost.:8888", BypassOnLocal: false);
var webProxy = new WebProxy(proxyUrl, BypassOnLocal: false);

this.Configure(settings =>
{
Expand Down

0 comments on commit 5e3e28f

Please sign in to comment.