How to use the http/sock proxy #368
-
My client is behind a restricted network, it requires a proxy to connect to the GitHub. |
Beta Was this translation helpful? Give feedback.
Answered by
XAMPPRocky
May 17, 2023
Replies: 1 comment 4 replies
-
Thank you for your question, you can change the let octocrab = octocrab::OctocrabBuilder::default()
.add_preview("machine-man")
.base_uri("https://github.example.com")?
.build()?; |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
XAMPPRocky
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Thank you for your question, you can change the
base_uri
in the settings. https://docs.rs/octocrab/latest/octocrab/struct.OctocrabBuilder.html#method.base_uri