[Modify] Edit it
This commit is contained in:
parent
db3ed340e7
commit
db696c2249
@ -3705,15 +3705,21 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets an HTTP <paramref name="cookie"/> to send with
|
/// Sets an HTTP cookie to send with the handshake request.
|
||||||
/// the WebSocket handshake request to the server.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// This method is not available in a server.
|
/// This method does nothing if the connection has already been
|
||||||
|
/// established or it is closing.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <param name="cookie">
|
/// <param name="cookie">
|
||||||
/// A <see cref="Cookie"/> that represents a cookie to send.
|
/// A <see cref="Cookie"/> that represents the cookie to send.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
/// <exception cref="InvalidOperationException">
|
||||||
|
/// This instance is not a client.
|
||||||
|
/// </exception>
|
||||||
|
/// <exception cref="ArgumentNullException">
|
||||||
|
/// <paramref name="cookie"/> is <see langword="null"/>.
|
||||||
|
/// </exception>
|
||||||
public void SetCookie (Cookie cookie)
|
public void SetCookie (Cookie cookie)
|
||||||
{
|
{
|
||||||
string msg = null;
|
string msg = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user