Method Send
Send(object)
Sends an text message to the remote point.
public bool Send(object message)
Parameters
message
objectThe target message which will be as an encoded UTF-8 string.
Returns
Send(string)
Sends an text message to the remote point.
public bool Send(string message)
Parameters
message
stringThe target message which will be as an encoded using the request preferred encoding.
Returns
Send(byte[])
Sends an binary message to the remote point.
public bool Send(byte[] buffer)
Parameters
buffer
byte[]The target byte array.
Returns
Send(byte[], int, int)
Sends an binary message to the remote point.
public bool Send(byte[] buffer, int start, int length)
Parameters
buffer
byte[]The target byte array.
start
intThe index at which to begin the memory.
length
intThe number of items in the memory.
Returns
Send(ReadOnlyMemory<byte>)
Sends an binary message to the remote point.
public bool Send(ReadOnlyMemory<byte> buffer)
Parameters
buffer
ReadOnlyMemory<byte>The target byte memory.