Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes the underlying connection
|
|
CommandConnection ( |
Wrap a command connection around a generic input stream
|
|
GetCommand ( ) : string | ||
SendMessageAsync ( string message ) : System.Threading.Tasks.Task |
Writes a message back to the host
|
Méthode | Description | |
---|---|---|
GetMsgLen ( ) : int |
public CommandConnection ( |
||
client | ||
input | Stream | The source of all commands |
Résultat | System |
public SendMessageAsync ( string message ) : System.Threading.Tasks.Task | ||
message | string | The message to write, including the message type tag and JSON body |
Résultat | System.Threading.Tasks.Task |