Skip to content

How to use the http/sock proxy #368

Answered by XAMPPRocky
lyyyuna asked this question in Q&A
Discussion options

You must be logged in to vote

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

let octocrab = octocrab::OctocrabBuilder::default()
    .add_preview("machine-man")
    .base_uri("https://github.example.com")?
    .build()?;

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lyyyuna
Comment options

@XAMPPRocky
Comment options

@lyyyuna
Comment options

@XAMPPRocky
Comment options

Answer selected by XAMPPRocky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #367 on May 17, 2023 09:04.