EveClientOptions
NexusLabs.Eve¶
EveClientOptions Class¶
Configures an EveClient for one eve deployment.
Inheritance System.Object 🡒 EveClientOptions
Implements System.IEquatable<EveClientOptions>
Constructors¶
EveClientOptions(string) Constructor¶
Initializes options for the specified eve host or route prefix.
Parameters¶
host System.String
An absolute host such as https://agent.example.com, or a relative prefix such as
/api when the supplied HTTP transport has a base address.
Properties¶
EveClientOptions.Authentication Property¶
Gets the authentication provider invoked before every request and stream reconnect.
Property Value¶
EveClientOptions.DeliveryRetryAttempts Property¶
Gets the maximum number of POST attempts used when delivering human-input responses.
Property Value¶
EveClientOptions.DeliveryRetryDelay Property¶
Gets the delay between delivery retries for a session that has not propagated yet.
Property Value¶
EveClientOptions.Headers Property¶
Gets static headers included on every request.
Property Value¶
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
EveClientOptions.HeadersProvider Property¶
Gets an optional dynamic header provider invoked before every request. Dynamic values override entries in Headers.
public System.Func<System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyDictionary<string,string>>>? HeadersProvider { get; init; }
Property Value¶
System.Func<System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>>>
EveClientOptions.Host Property¶
Gets the host or route prefix on which eve routes are mounted.
Property Value¶
EveClientOptions.PreserveCompletedSessions Property¶
Gets whether a normally completed session retains its continuation state for another turn. Failed sessions still reset.
Property Value¶
EveClientOptions.TimeProvider Property¶
Gets the time provider used for retry delays.