Exposed HttpClientTimeout setting in ElsaClientBuilderOptions

This commit is contained in:
Marius Vasile Vușcan 2025-02-06 12:17:58 +02:00
parent 9703cf0ae5
commit 771b21b0c1
No known key found for this signature in database
GPG key ID: E0EC75631D902E06

View file

@ -19,6 +19,11 @@ public class ElsaClientBuilderOptions
/// Gets or sets the API key function to use when authenticating with the Elsa server.
/// </summary>
public string? ApiKey { get; set; }
/// <summary>
/// Gets or sets the http client timeout on Elsa server.
/// </summary>
public TimeSpan HttpClientTimeout { get; set; } = TimeSpan.FromSeconds(60);
/// <summary>
/// A <see cref="DelegatingHandler"/> type that can be used to authenticate with the Elsa server.