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: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,6 +253,26 @@ var customer = await client
253
253
Console.WriteLine(customer);
254
254
```
255
255
256
+
### Proxies
257
+
258
+
To route requests through a proxy, configure your client with a custom [`HttpClient`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-10.0):
259
+
260
+
```csharp
261
+
usingSystem.Net;
262
+
usingSystem.Net.Http;
263
+
usingOrb;
264
+
265
+
varhttpClient=newHttpClient
266
+
(
267
+
newHttpClientHandler
268
+
{
269
+
Proxy=newWebProxy("https://example.com:8080")
270
+
}
271
+
);
272
+
273
+
OrbClientclient=new() { HttpClient=httpClient };
274
+
```
275
+
256
276
## Undocumented API functionality
257
277
258
278
The SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.
0 commit comments