RESTConnector ​
A connector for sending and receiving messages over named pipes as a client.
Kind: Class
Namespace: ConnectorLib
Inheritance: ConnectorBase → IDisposable → IGameConnector → IRESTConnector
Public Constructors
RESTConnector()
Public Member Functions
virtual override
Task
Connect()
virtual override
Task
Disconnect(string message)
bool
Send(string path)
TValue
Send<TValue>(string path)
bool
Send<TValue>(string path, TValue value)
TResult
Send<TValue, TResult>(string path, TValue value)
bool
SendValue<TValue>(string path, TValue value)
TResult
SendValue<TValue, TResult>(string path, TValue value)
bool
SendJson(string path, string json)
T
SendJson<T>(string path, string json)
virtual override
bool
SendMessage(string message)
virtual override
void
KeepAlive()
void
SetConnected()
Sets the connection status to open and invokes the ConnectorLib.ConnectorBase.OnReady and ConnectorLib.ConnectorBase.ConnectionStatusChanged events.
void
SetDisconnected()
Sets the connection status to closed and invokes the ConnectorLib.ConnectorBase.ConnectionStatusChanged event.
Properties
bool
Connected
[get, ]
