Refactored a bit for WebSocket.cs
This commit is contained in:
parent
2078bfad5a
commit
dbe7e0b17c
@ -162,6 +162,9 @@ namespace WebSocketSharp
|
|||||||
/// Each value of <paramref name="protocols"/> must be a token defined in
|
/// Each value of <paramref name="protocols"/> must be a token defined in
|
||||||
/// <see href="http://tools.ietf.org/html/rfc2616#section-2.2">RFC 2616</see>.
|
/// <see href="http://tools.ietf.org/html/rfc2616#section-2.2">RFC 2616</see>.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
/// <exception cref="ArgumentNullException">
|
||||||
|
/// <paramref name="url"/> is <see langword="null"/>.
|
||||||
|
/// </exception>
|
||||||
/// <exception cref="ArgumentException">
|
/// <exception cref="ArgumentException">
|
||||||
/// <para>
|
/// <para>
|
||||||
/// <paramref name="url"/> is invalid.
|
/// <paramref name="url"/> is invalid.
|
||||||
@ -173,9 +176,6 @@ namespace WebSocketSharp
|
|||||||
/// <paramref name="protocols"/> is invalid.
|
/// <paramref name="protocols"/> is invalid.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </exception>
|
/// </exception>
|
||||||
/// <exception cref="ArgumentNullException">
|
|
||||||
/// <paramref name="url"/> is <see langword="null"/>.
|
|
||||||
/// </exception>
|
|
||||||
public WebSocket (string url, params string[] protocols)
|
public WebSocket (string url, params string[] protocols)
|
||||||
{
|
{
|
||||||
if (url == null)
|
if (url == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user