Method WriteDataAsync
WriteDataAsync(string)
Asynchronously writes a data message to the underlying stream.
public Task WriteDataAsync(string data)
Parameters
data
stringThe data to write.
Returns
- Task
A task that represents the asynchronous write operation.