Class RouterClient
public class RouterClient
- Inheritance
-
RouterClient
Fields
DefaultListenPort
The default port to listen for connection from router.
public static readonly int DefaultListenPort
Field Value
DefaultPort
The default port to connect to router server.
public static readonly int DefaultPort
Field Value
Log
public static readonly Logger Log
Field Value
Methods
RegisterService()
Starts a service.
public static void RegisterService()
Exceptions
RequestServer(string, CancellationToken)
Requests a specific server.
public static Task<SimpleSocket> RequestServer(string serverUrl, CancellationToken cancellationToken = default)
Parameters
serverUrl
stringcancellationToken
CancellationToken