mirror of
https://github.com/System-End/slack-morphism-rust.git
synced 2026-04-19 23:22:56 +00:00
Docs update
This commit is contained in:
parent
ca5b8a629b
commit
777319ea4d
1 changed files with 6 additions and 1 deletions
|
|
@ -13,7 +13,12 @@ For example for proxy server config it might be used as:
|
|||
```rust,noplaypen
|
||||
|
||||
let proxy = {
|
||||
let https_connector = HttpsConnector::with_native_roots();
|
||||
let https_connector = hyper_rustls::HttpsConnectorBuilder::new()
|
||||
.with_native_roots()
|
||||
.https_only()
|
||||
.enable_http1()
|
||||
.build();
|
||||
|
||||
let proxy_uri = "http://proxy.unfortunate.world.example.net:3128"
|
||||
.parse()
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue