Skip to content

Proxy Server Support? #148

Answered by kayhantolga
Frogley asked this question in Q&A
Mar 8, 2023 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

with the new version, you can use it like this

serviceCollection.AddOpenAIService().ConfigurePrimaryHttpMessageHandler(() =>
    {
        return new HttpClientHandler { Proxy = "YOUR_PROXY_URL", UseProxy = true };
    });

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@Frogley
Comment options

@GrowingHacker
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Frogley
Comment options

@git102347501
Comment options

@phoben
Comment options

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