Skip to content

Commit 26e39c8

Browse files
committed
Updated Docs to include how to set up a proxy.
1 parent 4c0369a commit 26e39c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The .NET Standard SDK uses [Watson][wdc] services, a collection of REST APIs tha
1818
* [Self signed certificates](#self-signed-certificates)
1919
* [Discovery V2](#discovery-v2)
2020
* [Transaction IDs](#transactio-ids)
21+
* [Use behind a corporate proxy](#use-behind-a-corporate-proxy)
2122
* [Documentation](#documentation)
2223
* [Questions](#questions)
2324
* [Open Source @ IBM](#open-source--ibm)
@@ -247,6 +248,10 @@ catch(Exception e)
247248
}
248249
```
249250

251+
## Use behind a corporate proxy
252+
To use the SDK behind an HTTP proxy, you need to set either the `http_proxy` or `https_proxy` environment variable.
253+
You can set this in the application environment using `set http_proxy=http://proxy.server.com:3128` from the cmd.
254+
You can also set this in the application using `Environment.SetEnvironmentVariable("http_proxy", "http://proxy.server.com:3128");`
250255

251256
## Documentation
252257
Click [here][dotnet-standard-sdk-documentation] for documentation by release and branch.

0 commit comments

Comments
 (0)