Class HttpPeerConfiguration
Represents configuration of HyParView-over-HTTP implementation.
Implements
Inherited Members
Namespace: DotNext.Net.Cluster.Discovery.HyParView.Http
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
public class HttpPeerConfiguration : PeerConfiguration, IPeerConfiguration
Properties
| Edit this page View SourceAllocator
Gets or sets allocator for the internal buffer.
Declaration
public MemoryAllocator<byte>? Allocator { get; set; }
Property Value
Type | Description |
---|---|
MemoryAllocator<byte> |
ClientHandlerName
Gets or sets HTTP handler name used by HyParView peer client.
Declaration
public string ClientHandlerName { get; set; }
Property Value
Type | Description |
---|---|
string |
ContactNode
Gets or sets the address of the contact node.
Declaration
public Uri? ContactNode { get; set; }
Property Value
Type | Description |
---|---|
Uri |
LocalNode
Gets or sets the address of the local node.
Declaration
public Uri? LocalNode { get; set; }
Property Value
Type | Description |
---|---|
Uri |
ProtocolVersion
Gets or sets HTTP version supported by HyParView implementation.
Declaration
public HttpProtocolVersion ProtocolVersion { get; set; }
Property Value
Type | Description |
---|---|
HttpProtocolVersion |
ProtocolVersionPolicy
Gets or sets HTTP protocol selection policy.
Declaration
public HttpVersionPolicy ProtocolVersionPolicy { get; set; }
Property Value
Type | Description |
---|---|
HttpVersionPolicy |
RequestTimeout
Gets or sets HTTP request timeout.
Declaration
public TimeSpan RequestTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |