Enum AccessPointPolicy
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
Which of the access points the server advertises (after login, and whenever its access servers change) a client
adds to AccessPoints — the candidates of its next connect and automatic reconnect. Only
addresses in the client's own transport family are ever added (TLS addresses for a tls:// client, WebSocket URLs
for a ws:// / wss:// client).
public enum AccessPointPolicy
Fields
Auto = 0The default: use them only when this client connects through access servers — it was given an access-point list (ViiSyncAccountApi(ulong, string, IEnumerable<Uri>)) or a
tls://address, or the address it connected to (host and port) is one the server advertises. A client connected straight to the server (for examplewss://server.example.com/ws) keeps exactly its own address and reconnects to it.Always = 1Always use them, also on a client connected straight to the server: its next reconnect may go through an access server.
Never = 2Never: connect only to the addresses given here.