Skip to content

Commit 1a280d4

Browse files
committed
docs (README): Update README
1 parent 26e39c8 commit 1a280d4

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +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)
21+
* [Use behind a proxy](#use-behind-a-proxy)
2222
* [Documentation](#documentation)
2323
* [Questions](#questions)
2424
* [Open Source @ IBM](#open-source--ibm)
@@ -248,10 +248,18 @@ catch(Exception e)
248248
}
249249
```
250250

251-
## Use behind a corporate proxy
251+
## Use behind a proxy
252252
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");`
253+
You can set this in the application environment using:
254+
```
255+
set http_proxy=http://proxy.server.com:3128
256+
```
257+
from the cmd.
258+
259+
You can also set this in the application using:
260+
```cs
261+
Environment.SetEnvironmentVariable("http_proxy", "http://proxy.server.com:3128");
262+
```
255263

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

0 commit comments

Comments
 (0)