[Modify] Edit it
This commit is contained in:
parent
5e0ea01ec0
commit
feca747684
@ -967,15 +967,39 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sends binary <paramref name="data"/> to the client on the session with
|
||||
/// the specified <paramref name="id"/>.
|
||||
/// Sends <paramref name="data"/> to the client using the specified session.
|
||||
/// </summary>
|
||||
/// <param name="data">
|
||||
/// An array of <see cref="byte"/> that represents the binary data to send.
|
||||
/// </param>
|
||||
/// <param name="id">
|
||||
/// A <see cref="string"/> that represents the ID of the session to find.
|
||||
/// A <see cref="string"/> that represents the ID of the session.
|
||||
/// </param>
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// <para>
|
||||
/// <paramref name="id"/> is <see langword="null"/>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <paramref name="data"/> is <see langword="null"/>.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
/// <exception cref="ArgumentException">
|
||||
/// <para>
|
||||
/// <paramref name="id"/> is an empty string.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The session could not be found.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
/// <exception cref="InvalidOperationException">
|
||||
/// The current state of the WebSocket connection is not Open.
|
||||
/// </exception>
|
||||
public void SendTo (byte[] data, string id)
|
||||
{
|
||||
IWebSocketSession session;
|
||||
|
Loading…
Reference in New Issue
Block a user