You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/languages/csharp/methodology-csharp.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,16 +61,16 @@ The SDK includes minimal dependencies. The only external dependencies are:
61
61
62
62
## HTTP Client
63
63
64
-
By default, the C# SDK will instantiate its own `SpeakeasyHttpClient`, which uses the `System.Net.HttpClient` under the hood. The default client can be overridden by passing a custom HTTP client when initializing the SDK:
64
+
By default, the C# SDK will instantiate its own `DefaultHttpClient`, which uses the `System.Net.HttpClient` under the hood. The default client can be overridden by passing a custom HTTP client when initializing the SDK:
65
65
```csharp
66
66
varsdk=newSDK(client: newCustomHttpClient());
67
67
```
68
68
69
-
The provided HTTP client must implement the `ISpeakeasyHttpClient` interface as defined in `Utils.SpeakeasyHttpClient.cs`:
69
+
The provided HTTP client must implement the `Utils.IDefaultHttpClient` interface:
@@ -105,13 +105,13 @@ public class CustomHttpClient : ISpeakeasyHttpClient
105
105
106
106
This is useful if you're using a custom HTTP client that supports proxy settings or other custom configuration.
107
107
108
-
In the example below, a custom client inherits from the internal `SpeakeasyHttpClient` class, which implements the `ISpekeasyHttpClient` interface. This client adds a header to all requests before sending them:
108
+
In the example below, a custom client inherits from the internal `DefaultHttpClient` class, which implements the `IDefaultHttpClient` interface. This client adds a header to all requests before sending them:
0 commit comments