Interface IDnsCache
Provides a DNS cache for SignalR.
Namespace: Neon.SignalR
Assembly: Neon.SignalR.dll
Syntax
public interface IDnsCache
Properties
Hosts
List of hosts to cache.
Declaration
HashSet<string> Hosts { get; set; }
Property Value
| Type | Description |
|---|---|
| HashSet<string> |
Methods
ContainsKey(string)
Checks to see if the cache contains the specified key.
Declaration
bool ContainsKey(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value |
Returns
| Type | Description |
|---|---|
| bool |
GetSelfAddress()
Returns the current address of this server.
Declaration
string GetSelfAddress()
Returns
| Type | Description |
|---|---|
| string |
SetSelfAddress(string)
Sets the current address of this server.
Declaration
void SetSelfAddress(string address)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address |