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. Content-specific headers are omitted when a request has no content.
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.MaxStreamEventBytes Property¶
Gets the optional maximum UTF-8 byte count for one NDJSON stream event, excluding its line ending. A null value preserves the upstream unbounded behavior.
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.RequestHeadersProvider Property¶
Gets an optional dynamic header provider that receives the request operation before every request. Values override HeadersProvider but not per-request or authentication headers.
public System.Func<NexusLabs.Eve.EveHttpRequestContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyDictionary<string,string>>>? RequestHeadersProvider { get; init; }
Property Value¶
System.Func<EveHttpRequestContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>>>
EveClientOptions.TimeProvider Property¶
Gets the time provider used for retry delays.