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.AllowedProtectedHeaderOverrides Property¶
Gets protected header names that may be replaced through a dedicated per-call override. A name must be listed here and supplied through ProtectedHeaderOverrides or ProtectedHeaderOverrides.
public System.Collections.Generic.IReadOnlyCollection<string>? AllowedProtectedHeaderOverrides { get; init; }
Property Value¶
System.Collections.Generic.IReadOnlyCollection<System.String>
EveClientOptions.Authentication Property¶
Gets the authentication provider invoked before every request and stream reconnect. Its owned headers are protected from generic per-request values.
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.ProtectedHeaderNames Property¶
Gets additional header names that generic per-request values cannot replace. Use this for credentials supplied through Headers, HeadersProvider, or RequestHeadersProvider.
Property Value¶
System.Collections.Generic.IReadOnlyCollection<System.String>
EveClientOptions.RequestHeadersProvider Property¶
Gets an optional dynamic header provider that receives the request operation before every request. This provider stays client-level: values override HeadersProvider but not protected 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.