Class HttpClusterMemberConfiguration
Represents configuration of Raft HTTP cluster member.
Implements
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft.Http
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
public class HttpClusterMemberConfiguration : ClusterMemberConfiguration, IClusterMemberConfiguration
Properties
| Edit this page View SourceClientHandlerName
Gets or sets HTTP handler name used by Raft node client.
Declaration
public string ClientHandlerName { get; set; }
Property Value
Type | Description |
---|---|
string |
OpenConnectionForEachRequest
Specifies that each request should create individual TCP connection (no KeepAlive).
Declaration
public bool OpenConnectionForEachRequest { get; set; }
Property Value
Type | Description |
---|---|
bool |
ProtocolVersion
Gets or sets HTTP version supported by Raft implementation.
Declaration
public HttpProtocolVersion ProtocolVersion { get; set; }
Property Value
Type | Description |
---|---|
HttpProtocolVersion |
ProtocolVersionPolicy
Gets or sets HTTP version policy.
Declaration
public HttpVersionPolicy ProtocolVersionPolicy { get; set; }
Property Value
Type | Description |
---|---|
HttpVersionPolicy |
PublicEndPoint
Gets or sets the address of the local node visible to the entire cluster.
Declaration
public Uri? PublicEndPoint { get; set; }
Property Value
Type | Description |
---|---|
Uri |
RequestJournal
Gets configuration of request journal.
Declaration
public RequestJournalConfiguration RequestJournal { get; }
Property Value
Type | Description |
---|---|
RequestJournalConfiguration |
RequestTimeout
Gets or sets request timeout used to communicate with cluster members.
Declaration
public TimeSpan RequestTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | HTTP request timeout; default is UpperElectionTimeout. |