Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set httpClient.Timeout when using AddServiceModelGrpcClientFactory #325

Closed
pljAtEwe opened this issue Jan 21, 2025 · 2 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@pljAtEwe
Copy link

When using ClientServiceCollectionExtensions.AddServiceModelGrpcClientFactory followed by call to IClientFactoryBuilder.AddClient for creating the client factory how to configure httpClient.Timeout value ?

@pljAtEwe pljAtEwe added the question Further information is requested label Jan 21, 2025
@max-ieremenko
Copy link
Owner

The ClientFactory does not configure 'httpClient.Timeout', it is a configuration option for the channel.

see gRPC call timeout from HttpClient.Timeout

@pljAtEwe
Copy link
Author

pljAtEwe commented Jan 22, 2025

Thank you - that pointed me to a workable solution :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants