Added some XML documentation comments

This commit is contained in:
sta
2013-03-11 16:28:34 +09:00
parent 189a1fca3e
commit eeafa4ff8c
51 changed files with 3975 additions and 772 deletions

Binary file not shown.

View File

@@ -105,7 +105,7 @@ namespace WebSocketSharp {
#endregion #endregion
#region Private Method #region Private Methods
private ushort getCodeFrom(PayloadData data) private ushort getCodeFrom(PayloadData data)
{ {

View File

@@ -55,6 +55,12 @@ namespace WebSocketSharp {
/// </summary> /// </summary>
public static class Ext { public static class Ext {
#region Field
private const string _tspecials = "()<>@,;:\\\"/[]?={} \t";
#endregion
#region Private Methods #region Private Methods
private static void times(this ulong n, Action act) private static void times(this ulong n, Action act)
@@ -71,6 +77,21 @@ namespace WebSocketSharp {
#endregion #endregion
#region Internal Method
internal static bool IsToken(this string value)
{
foreach (char c in value)
{
if (c < 0x20 || c >= 0x7f || _tspecials.Contains (c))
return false;
}
return true;
}
#endregion
#region Public Methods #region Public Methods
/// <summary> /// <summary>
@@ -127,6 +148,28 @@ namespace WebSocketSharp {
listener.BeginAcceptTcpClient(callback, null); listener.BeginAcceptTcpClient(callback, null);
} }
/// <summary>
/// Determines whether the specified <see cref="string"/> contains any of characters
/// in the specified array of <see cref="char"/>.
/// </summary>
/// <returns>
/// <c>true</c> if <paramref name="str"/> contains any of <paramref name="chars"/>; otherwise, <c>false</c>.
/// </returns>
/// <param name="str">
/// A <see cref="string"/> to test.
/// </param>
/// <param name="chars">
/// An array of <see cref="char"/> that contains characters to find.
/// </param>
public static bool Contains(this string str, params char[] chars)
{
return str.IsNullOrEmpty()
? false
: chars.Length == 0
? true
: str.IndexOfAny(chars) != -1;
}
/// <summary> /// <summary>
/// Emit the specified <see cref="EventHandler"/> delegate if is not <see langword="null"/>. /// Emit the specified <see cref="EventHandler"/> delegate if is not <see langword="null"/>.
/// </summary> /// </summary>
@@ -432,7 +475,7 @@ namespace WebSocketSharp {
/// Determines whether the specified <see cref="string"/> is a <see cref="String.Empty"/>. /// Determines whether the specified <see cref="string"/> is a <see cref="String.Empty"/>.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// <c>true</c> if the <paramref name="value"/> parameter is a <see cref="String.Empty"/>; otherwise, <c>false</c>. /// <c>true</c> if <paramref name="value"/> is <see cref="String.Empty"/>; otherwise, <c>false</c>.
/// </returns> /// </returns>
/// <param name="value"> /// <param name="value">
/// A <see cref="string"/> to test. /// A <see cref="string"/> to test.
@@ -442,6 +485,25 @@ namespace WebSocketSharp {
return value == String.Empty ? true : false; return value == String.Empty ? true : false;
} }
/// <summary>
/// Determines whether the specified <see cref="string"/> is enclosed in the specified <see cref="char"/>.
/// </summary>
/// <returns>
/// <c>true</c> if <paramref name="str"/> is enclosed in <paramref name="c"/>; otherwise, <c>false</c>.
/// </returns>
/// <param name="str">
/// A <see cref="string"/> to test.
/// </param>
/// <param name="c">
/// A <see cref="char"/> that contains character to find.
/// </param>
public static bool IsEnclosedIn(this string str, char c)
{
return str.IsNullOrEmpty()
? false
: str[0] == c && str[str.Length - 1] == c;
}
/// <summary> /// <summary>
/// Determines whether the specified <see cref="WebSocketSharp.ByteOrder"/> is host (this computer architecture) byte order. /// Determines whether the specified <see cref="WebSocketSharp.ByteOrder"/> is host (this computer architecture) byte order.
/// </summary> /// </summary>

View File

@@ -64,7 +64,7 @@ namespace WebSocketSharp {
/// Gets the received data as a <see cref="string"/>. /// Gets the received data as a <see cref="string"/>.
/// </summary> /// </summary>
/// <value> /// <value>
/// A <see cref="string"/> that contains a received data. /// A <see cref="string"/> that contains the received data.
/// </value> /// </value>
public string Data { public string Data {
get { get {
@@ -80,7 +80,7 @@ namespace WebSocketSharp {
/// Gets the received data as an array of <see cref="byte"/>. /// Gets the received data as an array of <see cref="byte"/>.
/// </summary> /// </summary>
/// <value> /// <value>
/// An array of <see cref="byte"/> that contains a received data. /// An array of <see cref="byte"/> that contains the received data.
/// </value> /// </value>
public byte[] RawData { public byte[] RawData {
get { get {
@@ -89,10 +89,10 @@ namespace WebSocketSharp {
} }
/// <summary> /// <summary>
/// Gets the type of received data. /// Gets the type of the received data.
/// </summary> /// </summary>
/// <value> /// <value>
/// One of the <see cref="WebSocketSharp.Frame.Opcode"/> that indicates the type of received data. /// One of the <see cref="Opcode"/> values that indicates the type of the received data.
/// </value> /// </value>
public Opcode Type { public Opcode Type {
get { get {

View File

@@ -8,7 +8,8 @@
// Daniel Nauck (dna@mono-project.de) // Daniel Nauck (dna@mono-project.de)
// Sebastien Pouliot (sebastien@ximian.com) // Sebastien Pouliot (sebastien@ximian.com)
// //
// Copyright (C) 2004,2009 Novell, Inc (http://www.novell.com) // Copyright (c) 2004,2009 Novell, Inc (http://www.novell.com)
// Copyright (c) 2012-2013 sta.blockhead (sta.blockhead@gmail.com)
// //
// Permission is hereby granted, free of charge, to any person obtaining // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the // a copy of this software and associated documentation files (the
@@ -34,66 +35,200 @@ using System;
using System.Text; using System.Text;
using System.Globalization; using System.Globalization;
using System.Collections; using System.Collections;
using System.Net;
namespace WebSocketSharp.Net { namespace WebSocketSharp.Net {
// Supported cookie formats are: /// <summary>
// Netscape: http://home.netscape.com/newsref/std/cookie_spec.html /// Provides a set of properties and methods to use to manage the HTTP Cookie.
// RFC 2109: http://www.ietf.org/rfc/rfc2109.txt /// </summary>
// RFC 2965: http://www.ietf.org/rfc/rfc2965.txt /// <remarks>
/// The Cookie class cannot be inherited.
/// </remarks>
[Serializable] [Serializable]
public sealed class Cookie public sealed class Cookie
{ {
#region Fields // Supported cookie formats are:
// Netscape: http://home.netscape.com/newsref/std/cookie_spec.html
// RFC 2109: http://www.ietf.org/rfc/rfc2109.txt
// RFC 2965: http://www.ietf.org/rfc/rfc2965.txt
static char [] reservedCharsName = new char [] {' ', '=', ';', ',', '\n', '\r', '\t'}; #region Static Private Fields
static char [] portSeparators = new char [] {'"', ','};
static string tspecials = "()<>@,;:\\\"/[]?={} \t"; // from RFC 2965, 2068
string comment; static char [] reservedCharsForName = new char [] {' ', '=', ';', ',', '\n', '\r', '\t'};
Uri commentUri; static char [] reservedCharsForValue = new char [] {';', ','};
bool discard;
string domain; #endregion
#region Private Fields
string comment;
Uri commentUri;
bool discard;
string domain;
DateTime expires; DateTime expires;
bool httpOnly; bool httpOnly;
string name; string name;
string path; string path;
string port; string port;
int [] ports; int [] ports;
bool secure; bool secure;
DateTime timestamp; DateTime timestamp;
string val; string val;
int version; int version;
#endregion #endregion
#region Constructors #region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="Cookie"/> class.
/// </summary>
public Cookie () public Cookie ()
{ {
expires = DateTime.MinValue;
timestamp = DateTime.Now;
domain = String.Empty;
name = String.Empty;
val = String.Empty;
comment = String.Empty; comment = String.Empty;
domain = String.Empty;
expires = DateTime.MinValue;
name = String.Empty;
path = String.Empty;
port = String.Empty; port = String.Empty;
ports = new int [] {};
timestamp = DateTime.Now;
val = String.Empty;
version = 0;
} }
/// <summary>
/// Initializes a new instance of the <see cref="Cookie"/> class
/// with the specified <paramref name="name"/> and <paramref name="value"/>.
/// </summary>
/// <param name="name">
/// A <see cref="string"/> that contains the Name of the cookie.
/// </param>
/// <param name="value">
/// A <see cref="string"/> that contains the Value of the cookie.
/// </param>
/// <exception cref="CookieException">
/// <para>
/// <paramref name="name"/> is <see langword="null"/> or <see cref="String.Empty"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="name"/> contains an invalid character.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> is <see langword="null"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> contains a string not enclosed in double quotes
/// that contains an invalid character.
/// </para>
/// </exception>
public Cookie (string name, string value) public Cookie (string name, string value)
: this () : this ()
{ {
Name = name; string msg;
Value = value; if (!CanSetName (name, out msg))
throw new CookieException (msg);
if (!CanSetValue (value, out msg))
throw new CookieException (msg);
this.name = name;
this.val = value;
} }
/// <summary>
/// Initializes a new instance of the <see cref="Cookie"/> class
/// with the specified <paramref name="name"/>, <paramref name="value"/> and <paramref name="path"/>.
/// </summary>
/// <param name="name">
/// A <see cref="string"/> that contains the Name of the cookie.
/// </param>
/// <param name="value">
/// A <see cref="string"/> that contains the Value of the cookie.
/// </param>
/// <param name="path">
/// A <see cref="string"/> that contains the value of the Path attribute of the cookie.
/// </param>
/// <exception cref="CookieException">
/// <para>
/// <paramref name="name"/> is <see langword="null"/> or <see cref="String.Empty"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="name"/> contains an invalid character.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> is <see langword="null"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> contains a string not enclosed in double quotes
/// that contains an invalid character.
/// </para>
/// </exception>
public Cookie (string name, string value, string path) public Cookie (string name, string value, string path)
: this (name, value) : this (name, value)
{ {
Path = path; Path = path;
} }
/// <summary>
/// Initializes a new instance of the <see cref="Cookie"/> class
/// with the specified <paramref name="name"/>, <paramref name="value"/>,
/// <paramref name="path"/> and <paramref name="domain"/>.
/// </summary>
/// <param name="name">
/// A <see cref="string"/> that contains the Name of the cookie.
/// </param>
/// <param name="value">
/// A <see cref="string"/> that contains the Value of the cookie.
/// </param>
/// <param name="path">
/// A <see cref="string"/> that contains the value of the Path attribute of the cookie.
/// </param>
/// <param name="domain">
/// A <see cref="string"/> that contains the value of the Domain attribute of the cookie.
/// </param>
/// <exception cref="CookieException">
/// <para>
/// <paramref name="name"/> is <see langword="null"/> or <see cref="String.Empty"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="name"/> contains an invalid character.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> is <see langword="null"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// <paramref name="value"/> contains a string not enclosed in double quotes
/// that contains an invalid character.
/// </para>
/// </exception>
public Cookie (string name, string value, string path, string domain) public Cookie (string name, string value, string path, string domain)
: this (name, value, path) : this (name, value, path)
{ {
@@ -114,34 +249,67 @@ namespace WebSocketSharp.Net {
#region Public Properties #region Public Properties
/// <summary>
/// Gets or sets the value of the Comment attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains a comment to document intended use of the cookie.
/// </value>
public string Comment { public string Comment {
get { return comment; } get { return comment; }
set { comment = value == null ? String.Empty : value; } set { comment = value.IsNull () ? String.Empty : value; }
} }
/// <summary>
/// Gets or sets the value of the CommentURL attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="Uri"/> that contains a URI that provides the comment
/// to document intended use of the cookie.
/// </value>
public Uri CommentUri { public Uri CommentUri {
get { return commentUri; } get { return commentUri; }
set { commentUri = value; } set { commentUri = value; }
} }
/// <summary>
/// Gets or sets a value indicating whether the client discards the cookie unconditionally
/// when the client terminates.
/// </summary>
/// <value>
/// <c>true</c> if the client discards the cookie unconditionally when the client terminates;
/// otherwise, <c>false</c>. The default is <c>false</c>.
/// </value>
public bool Discard { public bool Discard {
get { return discard; } get { return discard; }
set { discard = value; } set { discard = value; }
} }
/// <summary>
/// Gets or sets the value of the Domain attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains a URI for which the cookie is valid.
/// </value>
public string Domain { public string Domain {
get { return domain; } get { return domain; }
set { set {
if (String.IsNullOrEmpty (value)) { if (value.IsNullOrEmpty ()) {
domain = String.Empty; domain = String.Empty;
ExactDomain = true; ExactDomain = true;
} else { } else {
domain = value; domain = value;
ExactDomain = (value [0] != '.'); ExactDomain = value [0] != '.';
} }
} }
} }
/// <summary>
/// Gets or sets a value indicating whether the cookie has expired.
/// </summary>
/// <value>
/// <c>true</c> if the cookie has expired; otherwise, <c>false</c>.
/// </value>
public bool Expired { public bool Expired {
get { get {
return expires <= DateTime.Now && return expires <= DateTime.Now &&
@@ -153,74 +321,129 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets the value of the Expires attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="DateTime"/> that contains the date and time at which the cookie expires.
/// </value>
public DateTime Expires { public DateTime Expires {
get { return expires; } get { return expires; }
set { expires = value; } set { expires = value; }
} }
/// <summary>
/// Gets or sets a value indicating non-HTTP APIs can access the cookie.
/// </summary>
/// <value>
/// <c>true</c> if non-HTTP APIs can not access the cookie; otherwise, <c>false</c>.
/// </value>
public bool HttpOnly { public bool HttpOnly {
get { return httpOnly; } get { return httpOnly; }
set { httpOnly = value; } set { httpOnly = value; }
} }
/// <summary>
/// Gets or sets the Name of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains the Name of the cookie.
/// </value>
/// <exception cref="CookieException">
/// <para>
/// The value specified for a set operation is <see langword="null"/> or <see cref="String.Empty"/>.
/// </para>
/// <para>
/// - or -
/// </para>
/// <para>
/// The value specified for a set operation contains an invalid character.
/// </para>
/// </exception>
public string Name { public string Name {
get { return name; } get { return name; }
set { set {
if (String.IsNullOrEmpty (value)) string msg;
throw new CookieException ("Name cannot be empty"); if (!CanSetName (value, out msg))
throw new CookieException (msg);
if (value [0] == '$' || value.IndexOfAny (reservedCharsName) != -1) {
// see CookieTest, according to MS implementation
// the name value changes even though it's incorrect
name = String.Empty;
throw new CookieException ("Name contains invalid characters");
}
name = value; name = value;
} }
} }
/// <summary>
/// Gets or sets the value of the Path attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains a subset of URI on the origin server
/// to which the cookie applies.
/// </value>
public string Path { public string Path {
get { return (path == null) ? String.Empty : path; } get { return path; }
set { path = (value == null) ? String.Empty : value; } set { path = value.IsNull () ? String.Empty : value; }
} }
/// <summary>
/// Gets or sets the value of the Port attribute of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains a list of the TCP ports to which the cookie applies.
/// </value>
/// <exception cref="CookieException">
/// The value specified for a set operation could not be parsed or is not enclosed in double quotes.
/// </exception>
public string Port { public string Port {
get { return port; } get { return port; }
set { set {
if (String.IsNullOrEmpty (value)) { if (value.IsNullOrEmpty ()) {
port = String.Empty; port = String.Empty;
ports = new int [] {};
return; return;
} }
if (value [0] != '"' || value [value.Length - 1] != '"') {
throw new CookieException("The 'Port'='" + value + "' part of the cookie is invalid. Port must be enclosed by double quotes."); if (!value.IsEnclosedIn ('"'))
} throw new CookieException ("The 'Port'='" + value + "' attribute of the cookie is invalid. Port must be enclosed in double quotes.");
port = value;
string [] values = port.Split (portSeparators); string error;
ports = new int[values.Length]; if (!TryCreatePorts (value, out ports, out error))
for (int i = 0; i < ports.Length; i++) { throw new CookieException ("The 'Port'='" + value + "' attribute of the cookie is invalid. Invalid value: " + error);
ports [i] = Int32.MinValue;
if (values [i].Length == 0) port = value;
continue;
try {
ports [i] = Int32.Parse (values [i]);
} catch (Exception e) {
throw new CookieException("The 'Port'='" + value + "' part of the cookie is invalid. Invalid value: " + values [i], e);
}
}
Version = 1;
} }
} }
/// <summary>
/// Gets or sets a value indicating whether the security level of the cookie is secure.
/// </summary>
/// <remarks>
/// When this property is <c>true</c>, the cookie may be included in the HTTP request
/// only if the request is transmitted over the HTTPS.
/// </remarks>
/// <value>
/// <c>true</c> if the security level of the cookie is secure; otherwise, <c>false</c>.
/// The default is <c>false</c>.
/// </value>
public bool Secure { public bool Secure {
get { return secure; } get { return secure; }
set { secure = value; } set { secure = value; }
} }
/// <summary>
/// Gets the time when the cookie was issued.
/// </summary>
/// <value>
/// A <see cref="DateTime"/> that contains the time when the cookie was issued.
/// </value>
public DateTime TimeStamp { public DateTime TimeStamp {
get { return timestamp; } get { return timestamp; }
} }
/// <summary>
/// Gets or sets the Value of the cookie.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains the Value of the cookie.
/// </value>
public string Value { public string Value {
get { return val; } get { return val; }
set { set {
@@ -233,7 +456,7 @@ namespace WebSocketSharp.Net {
// the semicolon and comma characters, yet it does. For now we'll follow // the semicolon and comma characters, yet it does. For now we'll follow
// the behaviour of MS.Net instead of the specs. // the behaviour of MS.Net instead of the specs.
/* /*
if (value.IndexOfAny(reservedCharsValue) != -1) if (value.IndexOfAny(reservedCharsForValue) != -1)
throw new CookieException("Invalid value. Value cannot contain semicolon or comma characters."); throw new CookieException("Invalid value. Value cannot contain semicolon or comma characters.");
*/ */
@@ -241,12 +464,22 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets the value of the Version attribute of the cookie.
/// </summary>
/// <value>
/// An <see cref="int"/> that contains the version of the HTTP state management
/// to which the cookie conforms.
/// </value>
/// <exception cref="ArgumentOutOfRangeException">
/// The value specified for a set operation is less than zero.
/// </exception>
public int Version { public int Version {
get { return version; } get { return version; }
set { set {
if ((value < 0) || (value > 10)) if (value < 0)
version = 0; throw new ArgumentOutOfRangeException();
else else
version = value; version = value;
} }
} }
@@ -255,85 +488,130 @@ namespace WebSocketSharp.Net {
#region Private Methods #region Private Methods
private static int hash (int i, int j, int k, int l, int m) static bool CanSetName (string name, out string message)
{
if (name.IsNullOrEmpty ()) {
message = "Name can not be null or empty.";
return false;
}
if (name [0] == '$' || name.Contains (reservedCharsForName)) {
message = "Name contains an invalid character.";
return false;
}
message = String.Empty;
return true;
}
static bool CanSetValue (string value, out string message)
{
if (value.IsNull ()) {
message = "Value can not be null.";
return false;
}
if (value.Contains (reservedCharsForValue)) {
if (!value.IsEnclosedIn ('"')) {
message = "Value contains an invalid character.";
return false;
}
}
message = String.Empty;
return true;
}
static int Hash (int i, int j, int k, int l, int m)
{ {
return i ^ (j << 13 | j >> 19) ^ (k << 26 | k >> 6) ^ (l << 7 | l >> 25) ^ (m << 20 | m >> 12); return i ^ (j << 13 | j >> 19) ^ (k << 26 | k >> 6) ^ (l << 7 | l >> 25) ^ (m << 20 | m >> 12);
} }
bool IsToken (string value)
{
int len = value.Length;
for (int i = 0; i < len; i++) {
char c = value [i];
if (c < 0x20 || c >= 0x7f || tspecials.IndexOf (c) != -1)
return false;
}
return true;
}
// See par 3.6 of RFC 2616 // See par 3.6 of RFC 2616
string QuotedString (string value) string Quote (string value)
{ {
if (version == 0 || IsToken (value)) if (version == 0 || value.IsToken ())
return value; return value;
else else
return "\"" + value.Replace("\"", "\\\"") + "\""; return "\"" + value.Replace("\"", "\\\"") + "\"";
} }
static bool TryCreatePorts (string value, out int [] result, out string parseError)
{
var values = value.Trim ('"').Split (',');
var tmp = new int [values.Length];
for (int i = 0; i < values.Length; i++) {
tmp [i] = int.MinValue;
var v = values [i].Trim ();
if (v.IsEmpty ())
continue;
if (!int.TryParse (v, out tmp [i])) {
result = new int [] {};
parseError = v;
return false;
}
}
result = tmp;
parseError = String.Empty;
return true;
}
#endregion #endregion
#region Internal Methods #region Internal Methods
// From server to client
internal string ToClientString () internal string ToClientString ()
{ {
if (name.Length == 0) if (name.IsEmpty ())
return String.Empty; return String.Empty;
StringBuilder result = new StringBuilder (64); var result = new StringBuilder (64);
if (version > 0) if (version > 0)
result.Append ("Version=").Append (version).Append (";"); result.Append ("Version=").Append (version).Append ("; ");
result.Append (name).Append ("=").Append (val); result.Append (name).Append ("=").Append (Quote (val));
if (!path.IsNullOrEmpty ())
result.Append ("; Path=").Append (path);
if (path != null && path.Length != 0) if (!domain.IsNullOrEmpty ())
result.Append (";Path=").Append (QuotedString (path)); result.Append ("; Domain=").Append (domain);
if (domain != null && domain.Length != 0) if (!port.IsNullOrEmpty ())
result.Append (";Domain=").Append (QuotedString (domain)); result.Append ("; Port=").Append (port);
if (port != null && port.Length != 0)
result.Append (";Port=").Append (port);
return result.ToString (); return result.ToString ();
} }
// From client to server
internal string ToString (Uri uri) internal string ToString (Uri uri)
{ {
if (name.Length == 0) if (name.IsEmpty ())
return String.Empty; return String.Empty;
StringBuilder result = new StringBuilder (64); var result = new StringBuilder (64);
if (version > 0) if (version > 0)
result.Append ("$Version=").Append (version).Append ("; "); result.Append ("$Version=").Append (version).Append ("; ");
result.Append (name).Append ("=").Append (val); result.Append (name).Append ("=").Append (val);
if (version == 0) if (version == 0)
return result.ToString (); return result.ToString ();
if (!String.IsNullOrEmpty (path)) if (!path.IsNullOrEmpty ())
result.Append ("; $Path=").Append (path); result.Append ("; $Path=").Append (path);
else if (uri != null) else if (!uri.IsNull ())
result.Append ("; $Path=/").Append (path); result.Append ("; $Path=").Append (uri.GetAbsolutePath ());
else
result.Append ("; $Path=/");
bool append_domain = (uri == null) || (uri.Host != domain); bool append_domain = uri.IsNull () || uri.Host != domain;
if (append_domain && !String.IsNullOrEmpty (domain)) if (append_domain && !domain.IsNullOrEmpty ())
result.Append ("; $Domain=").Append (domain); result.Append ("; $Domain=").Append (domain);
if (port != null && port.Length != 0) if (!port.IsNullOrEmpty ())
result.Append ("; $Port=").Append (port); result.Append ("; $Port=").Append (port);
return result.ToString (); return result.ToString ();
} }
@@ -342,34 +620,57 @@ namespace WebSocketSharp.Net {
#region Public Methods #region Public Methods
public override bool Equals (Object obj) /// <summary>
/// Determines whether the specified <see cref="Object"/> is equal to the current <see cref="Cookie"/>.
/// </summary>
/// <param name="comparand">
/// An <see cref="Object"/> to compare with the current <see cref="Cookie"/>.
/// </param>
/// <returns>
/// <c>true</c> if the specified <see cref="Object"/> is equal to the current <see cref="Cookie"/>;
/// otherwise, <c>false</c>.
/// </returns>
public override bool Equals (Object comparand)
{ {
Cookie c = obj as Cookie; var cookie = comparand as Cookie;
return !cookie.IsNull() &&
return c != null && String.Compare (this.name, cookie.Name, true, CultureInfo.InvariantCulture) == 0 &&
String.Compare (this.name, c.Name, true, CultureInfo.InvariantCulture) == 0 && String.Compare (this.val, cookie.Value, false, CultureInfo.InvariantCulture) == 0 &&
String.Compare (this.val, c.Value, false, CultureInfo.InvariantCulture) == 0 && String.Compare (this.path, cookie.Path, false, CultureInfo.InvariantCulture) == 0 &&
String.Compare (this.Path, c.Path, false, CultureInfo.InvariantCulture) == 0 && String.Compare (this.domain, cookie.Domain, true, CultureInfo.InvariantCulture) == 0 &&
String.Compare (this.domain, c.Domain, true, CultureInfo.InvariantCulture) == 0 && this.version == cookie.Version;
this.version == c.Version;
} }
/// <summary>
/// Serves as a hash function for a <see cref="Cookie"/> object.
/// </summary>
/// <returns>
/// An <see cref="int"/> that contains a hash code for this instance.
/// </returns>
public override int GetHashCode () public override int GetHashCode ()
{ {
return hash ( return Hash (
StringComparer.InvariantCultureIgnoreCase.GetHashCode (name), StringComparer.InvariantCultureIgnoreCase.GetHashCode (name),
val.GetHashCode (), val.GetHashCode (),
Path.GetHashCode (), path.GetHashCode (),
StringComparer.InvariantCultureIgnoreCase.GetHashCode (domain), StringComparer.InvariantCultureIgnoreCase.GetHashCode (domain),
version); version);
} }
// returns a string that can be used to send a cookie to an Origin Server /// <summary>
// i.e., only used for clients /// Returns a <see cref="string"/> that represents the current <see cref="Cookie"/>.
// see para 4.2.2 of RFC 2109 and para 3.3.4 of RFC 2965 /// </summary>
// see also bug #316017 /// <remarks>
public override string ToString () /// This method returns a <see cref="string"/> to use to send an HTTP Cookie to an origin server.
/// </remarks>
/// <returns>
/// A <see cref="string"/> that represents the current <see cref="Cookie"/>.
/// </returns>
public override string ToString ()
{ {
// i.e., only used for clients
// see para 4.2.2 of RFC 2109 and para 3.3.4 of RFC 2965
// see also bug #316017
return ToString (null); return ToString (null);
} }

View File

@@ -7,7 +7,8 @@
// Gonzalo Paniagua Javier (gonzalo@ximian.com) // Gonzalo Paniagua Javier (gonzalo@ximian.com)
// Sebastien Pouliot <sebastien@ximian.com> // Sebastien Pouliot <sebastien@ximian.com>
// //
// Copyright (C) 2004,2009 Novell, Inc (http://www.novell.com) // Copyright (c) 2004,2009 Novell, Inc (http://www.novell.com)
// Copyright (c) 2012-2013 sta.blockhead (sta.blockhead@gmail.com)
// //
// Permission is hereby granted, free of charge, to any person obtaining // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the // a copy of this software and associated documentation files (the
@@ -33,11 +34,13 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Net;
using System.Runtime.Serialization; using System.Runtime.Serialization;
namespace WebSocketSharp.Net { namespace WebSocketSharp.Net {
/// <summary>
/// Provides a collection container for instances of the <see cref="Cookie"/> class.
/// </summary>
[Serializable] [Serializable]
public class CookieCollection : ICollection, IEnumerable public class CookieCollection : ICollection, IEnumerable
{ {
@@ -48,7 +51,7 @@ namespace WebSocketSharp.Net {
{ {
if (x == null || y == null) if (x == null || y == null)
return 0; return 0;
int c1 = x.Name.Length + x.Value.Length; int c1 = x.Name.Length + x.Value.Length;
int c2 = y.Name.Length + y.Value.Length; int c2 = y.Name.Length + y.Value.Length;
@@ -56,10 +59,28 @@ namespace WebSocketSharp.Net {
} }
} }
#region Fields #region Static Field
static CookieCollectionComparer Comparer = new CookieCollectionComparer (); static CookieCollectionComparer Comparer = new CookieCollectionComparer ();
List<Cookie> list = new List<Cookie> ();
#endregion
#region Field
List<Cookie> list;
object sync;
#endregion
#region Constructor
/// <summary>
/// Initializes a new instance of the <see cref="CookieCollection"/> class.
/// </summary>
public CookieCollection ()
{
list = new List<Cookie> ();
}
#endregion #endregion
@@ -73,7 +94,12 @@ namespace WebSocketSharp.Net {
#region Public Properties #region Public Properties
// ICollection /// <summary>
/// Gets the number of cookies contained in the <see cref="CookieCollection"/>.
/// </summary>
/// <value>
/// An <see cref="int"/> that indicates the number of cookies contained in the <see cref="CookieCollection"/>.
/// </value>
public int Count { public int Count {
get { return list.Count; } get { return list.Count; }
} }
@@ -81,14 +107,42 @@ namespace WebSocketSharp.Net {
// LAMESPEC: So how is one supposed to create a writable CookieCollection // LAMESPEC: So how is one supposed to create a writable CookieCollection
// instance?? We simply ignore this property, as this collection is always // instance?? We simply ignore this property, as this collection is always
// writable. // writable.
//
/// <summary>
/// Gets a value indicating whether the <see cref="CookieCollection"/> is read-only.
/// </summary>
/// <value>
/// <c>true</c> if the <see cref="CookieCollection"/> is read-only; otherwise, <c>false</c>.
/// The default is <c>true</c>.
/// </value>
public bool IsReadOnly { public bool IsReadOnly {
get { return true; } get { return true; }
} }
/// <summary>
/// Gets a value indicating whether access to the <see cref="CookieCollection"/> is thread safe.
/// </summary>
/// <value>
/// <c>true</c> if access to the <see cref="CookieCollection"/> is thread safe; otherwise, <c>false</c>.
/// The default is <c>false</c>.
/// </value>
public bool IsSynchronized { public bool IsSynchronized {
get { return false; } get { return false; }
} }
/// <summary>
/// Gets the <see cref="Cookie"/> with the specified <paramref name="index"/> from the <see cref="CookieCollection"/>.
/// </summary>
/// <value>
/// A <see cref="Cookie"/> with the specified <paramref name="index"/> in the <see cref="CookieCollection"/>.
/// </value>
/// <param name="index">
/// An <see cref="int"/> that is the zero-based index of the <see cref="Cookie"/> to find.
/// </param>
/// <exception cref="ArgumentOutOfRangeException">
/// <paramref name="index"/> is less than zero or <paramref name="index"/> is greater than or
/// equal to <see cref="Count"/>.
/// </exception>
public Cookie this [int index] { public Cookie this [int index] {
get { get {
if (index < 0 || index >= list.Count) if (index < 0 || index >= list.Count)
@@ -98,18 +152,45 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets the <see cref="Cookie"/> with the specified <paramref name="name"/> from the <see cref="CookieCollection"/>.
/// </summary>
/// <value>
/// A <see cref="Cookie"/> with the specified <paramref name="name"/> in the <see cref="CookieCollection"/>.
/// </value>
/// <param name="name">
/// A <see cref="string"/> that is the name of the <see cref="Cookie"/> to find.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="name"/> is <see langword="null"/>.
/// </exception>
public Cookie this [string name] { public Cookie this [string name] {
get { get {
foreach (Cookie c in list) { if (name.IsNull ())
if (0 == String.Compare (c.Name, name, true, CultureInfo.InvariantCulture)) throw new ArgumentNullException ("name");
return c;
foreach (var cookie in list) {
if (0 == String.Compare (cookie.Name, name, true, CultureInfo.InvariantCulture))
return cookie;
} }
return null; return null;
} }
} }
/// <summary>
/// Gets an object to use to synchronize access to the <see cref="CookieCollection"/>.
/// </summary>
/// <value>
/// An <see cref="Object"/> to use to synchronize access to the <see cref="CookieCollection"/>.
/// </value>
public Object SyncRoot { public Object SyncRoot {
get { return this; } get {
if (sync.IsNull ())
sync = new object ();
return sync;
}
} }
#endregion #endregion
@@ -124,16 +205,16 @@ namespace WebSocketSharp.Net {
for (int i = list.Count - 1; i >= 0; i--) { for (int i = list.Count - 1; i >= 0; i--) {
Cookie c = list [i]; Cookie c = list [i];
if (c.Version != cookie.Version) if (0 != String.Compare (name, c.Name, true, CultureInfo.InvariantCulture))
continue; continue;
if (0 != String.Compare (domain, c.Domain, true, CultureInfo.InvariantCulture)) if (0 != String.Compare (domain, c.Domain, true, CultureInfo.InvariantCulture))
continue; continue;
if (0 != String.Compare (name, c.Name, true, CultureInfo.InvariantCulture)) if (0 != String.Compare (path, c.Path, false, CultureInfo.InvariantCulture))
continue; continue;
if (0 != String.Compare (path, c.Path, true, CultureInfo.InvariantCulture)) if (c.Version != cookie.Version)
continue; continue;
return i; return i;
@@ -156,9 +237,18 @@ namespace WebSocketSharp.Net {
#region Public Methods #region Public Methods
/// <summary>
/// Add the specified <see cref="Cookie"/> to the <see cref="CookieCollection"/>.
/// </summary>
/// <param name="cookie">
/// A <see cref="Cookie"/> to add to the <see cref="CookieCollection"/>.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="cookie"/> is <see langword="null"/>.
/// </exception>
public void Add (Cookie cookie) public void Add (Cookie cookie)
{ {
if (cookie == null) if (cookie.IsNull ())
throw new ArgumentNullException ("cookie"); throw new ArgumentNullException ("cookie");
int pos = SearchCookie (cookie); int pos = SearchCookie (cookie);
@@ -168,25 +258,89 @@ namespace WebSocketSharp.Net {
list [pos] = cookie; list [pos] = cookie;
} }
/// <summary>
/// Add the elements of the specified <see cref="CookieCollection"/> to the current <see cref="CookieCollection"/>.
/// </summary>
/// <param name="cookies">
/// A <see cref="CookieCollection"/> to add to the current <see cref="CookieCollection"/>.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="cookies"/> is <see langword="null"/>.
/// </exception>
public void Add (CookieCollection cookies) public void Add (CookieCollection cookies)
{ {
if (cookies == null) if (cookies.IsNull ())
throw new ArgumentNullException ("cookies"); throw new ArgumentNullException ("cookies");
foreach (Cookie c in cookies) foreach (Cookie cookie in cookies)
Add (c); Add (cookie);
} }
/// <summary>
/// Copies the elements of the <see cref="CookieCollection"/> to the specified <see cref="Array"/>,
/// starting at the specified <paramref name="index"/> in the <paramref name="array"/>.
/// </summary>
/// <param name="array">
/// An <see cref="Array"/> that is the destination of the elements copied from the <see cref="CookieCollection"/>.
/// </param>
/// <param name="index">
/// An <see cref="int"/> that indicates the zero-based index in <paramref name="array"/> at which copying begins.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="array"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// <paramref name="index"/> is less than zero.
/// </exception>
public void CopyTo (Array array, int index) public void CopyTo (Array array, int index)
{ {
if (array.IsNull ())
throw new ArgumentNullException ("array");
if (index < 0)
throw new ArgumentOutOfRangeException ("index", "Must not be less than zero.");
// TODO: Support for ArgumentException and InvalidCastException.
(list as IList).CopyTo (array, index); (list as IList).CopyTo (array, index);
} }
/// <summary>
/// Copies the elements of the <see cref="CookieCollection"/> to the specified array of <see cref="Cookie"/>,
/// starting at the specified <paramref name="index"/> in the <paramref name="array"/>.
/// </summary>
/// <param name="array">
/// An array of <see cref="Cookie"/> that is the destination of the elements copied from the <see cref="CookieCollection"/>.
/// </param>
/// <param name="index">
/// An <see cref="int"/> that indicates the zero-based index in <paramref name="array"/> at which copying begins.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="array"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// <paramref name="index"/> is less than zero.
/// </exception>
public void CopyTo (Cookie [] array, int index) public void CopyTo (Cookie [] array, int index)
{ {
if (array.IsNull ())
throw new ArgumentNullException ("array");
if (index < 0)
throw new ArgumentOutOfRangeException ("index", "Must not be less than zero.");
// TODO: Support for ArgumentException.
list.CopyTo (array, index); list.CopyTo (array, index);
} }
/// <summary>
/// Gets the enumerator to use to iterate through the <see cref="CookieCollection"/>.
/// </summary>
/// <returns>
/// An instance of an implementation of the <see cref="IEnumerator"/> interface
/// to use to iterate through the <see cref="CookieCollection"/>.
/// </returns>
public IEnumerator GetEnumerator () public IEnumerator GetEnumerator ()
{ {
return list.GetEnumerator (); return list.GetEnumerator ();

View File

@@ -1,10 +1,12 @@
// //
// CookieException.cs // CookieException.cs
// Copied from System.Net.CookieException // Copied from System.Net.CookieException.cs
// //
// Author: // Author:
// Lawrence Pit (loz@cable.a2000.nl) // Lawrence Pit (loz@cable.a2000.nl)
// //
// Copyright (c) 2012-2013 sta.blockhead (sta.blockhead@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the // a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including // "Software"), to deal in the Software without restriction, including
@@ -28,42 +30,97 @@
using System; using System;
using System.Globalization; using System.Globalization;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using System.Security.Permissions;
namespace WebSocketSharp.Net { namespace WebSocketSharp.Net {
/// <summary>
/// The exception that is thrown when a <see cref="Cookie"/> gets an error.
/// </summary>
[Serializable] [Serializable]
public class CookieException : FormatException, ISerializable public class CookieException : FormatException, ISerializable
{ {
// Constructors #region Internal Constructors
internal CookieException (string message)
: base (message)
{
}
internal CookieException (string message, Exception innerException)
: base (message, innerException)
{
}
#endregion
#region Protected Constructor
/// <summary>
/// Initializes a new instance of the <see cref="CookieException"/> class
/// with the specified <see cref="SerializationInfo"/> and <see cref="StreamingContext"/>.
/// </summary>
/// <param name="serializationInfo">
/// A <see cref="SerializationInfo"/> that holds the serialized object data.
/// </param>
/// <param name="streamingContext">
/// A <see cref="StreamingContext"/> that contains the contextual information about the source or destination.
/// </param>
protected CookieException (SerializationInfo serializationInfo, StreamingContext streamingContext)
: base (serializationInfo, streamingContext)
{
}
#endregion
#region Public Constructor
/// <summary>
/// Initializes a new instance of the <see cref="CookieException"/> class.
/// </summary>
public CookieException () public CookieException ()
: base () : base ()
{ {
} }
internal CookieException (string msg) #endregion
: base (msg)
#region Explicit Interface Implementation
/// <summary>
/// Populates the specified <see cref="SerializationInfo"/> with the data needed to serialize the <see cref="CookieException"/>.
/// </summary>
/// <param name="serializationInfo">
/// A <see cref="SerializationInfo"/> that holds the serialized object data.
/// </param>
/// <param name="streamingContext">
/// A <see cref="StreamingContext"/> that specifies the destination for the serialization.
/// </param>
[SecurityPermission (SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter, SerializationFormatter = true)]
void ISerializable.GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
{ {
base.GetObjectData (serializationInfo, streamingContext);
} }
internal CookieException (string msg, Exception e) #endregion
: base (msg, e)
{
}
protected CookieException (SerializationInfo info, StreamingContext context) #region Public Method
: base (info, context)
{
}
// Methods
void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
{
base.GetObjectData (info, context);
}
/// <summary>
/// Populates the specified <see cref="SerializationInfo"/> with the data needed to serialize the <see cref="CookieException"/>.
/// </summary>
/// <param name="serializationInfo">
/// A <see cref="SerializationInfo"/> that holds the serialized object data.
/// </param>
/// <param name="streamingContext">
/// A <see cref="StreamingContext"/> that specifies the destination for the serialization.
/// </param>
[SecurityPermission (SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext) public override void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
{ {
base.GetObjectData (serializationInfo, streamingContext); base.GetObjectData (serializationInfo, streamingContext);
} }
#endregion
} }
} }

View File

@@ -40,7 +40,7 @@ using System.Text;
namespace WebSocketSharp.Net { namespace WebSocketSharp.Net {
/// <summary> /// <summary>
/// Provides access to the HTTP request objects sent to a <see cref="HttpListener"/> instance. /// Provides access to a request to a <see cref="HttpListener"/> instance.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The HttpListenerRequest class cannot be inherited. /// The HttpListenerRequest class cannot be inherited.
@@ -84,8 +84,8 @@ namespace WebSocketSharp.Net {
internal HttpListenerRequest (HttpListenerContext context) internal HttpListenerRequest (HttpListenerContext context)
{ {
this.context = context; this.context = context;
headers = new WebHeaderCollection (); headers = new WebHeaderCollection ();
version = HttpVersion.Version10; version = HttpVersion.Version10;
} }
#endregion #endregion
@@ -126,7 +126,7 @@ namespace WebSocketSharp.Net {
/// Gets the encoding that can be used with the entity body data included in the request. /// Gets the encoding that can be used with the entity body data included in the request.
/// </summary> /// </summary>
/// <value> /// <value>
/// A <see cref="Encoding"/> that contains the encoding that can be used with entity body data. /// A <see cref="Encoding"/> that contains the encoding that can be used with the entity body data.
/// </value> /// </value>
public Encoding ContentEncoding { public Encoding ContentEncoding {
// TODO: Always returns Encoding.Default // TODO: Always returns Encoding.Default
@@ -142,7 +142,7 @@ namespace WebSocketSharp.Net {
/// </summary> /// </summary>
/// <value> /// <value>
/// A <see cref="long"/> that contains the value of the Content-Length entity-header field. /// A <see cref="long"/> that contains the value of the Content-Length entity-header field.
/// <c>-1</c> if the size is not known. /// The value is a number of bytes in the entity body data. <c>-1</c> if the size is not known.
/// </value> /// </value>
public long ContentLength64 { public long ContentLength64 {
get { return content_length; } get { return content_length; }

View File

@@ -6,7 +6,7 @@
// Gonzalo Paniagua Javier (gonzalo@novell.com) // Gonzalo Paniagua Javier (gonzalo@novell.com)
// //
// Copyright (c) 2005 Novell, Inc. (http://www.novell.com) // Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
// Copyright (c) 2012 sta.blockhead (sta.blockhead@gmail.com) // Copyright (c) 2012-2013 sta.blockhead (sta.blockhead@gmail.com)
// //
// Permission is hereby granted, free of charge, to any person obtaining // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the // a copy of this software and associated documentation files (the
@@ -29,13 +29,21 @@
// //
using System; using System;
using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.IO; using System.IO;
using System.Linq;
using System.Net; using System.Net;
using System.Text; using System.Text;
namespace WebSocketSharp.Net { namespace WebSocketSharp.Net {
/// <summary>
/// Provides access to a response to a request being processed by a <see cref="HttpListener"/> instance.
/// </summary>
/// <remarks>
/// The HttpListenerResponse class cannot be inherited.
/// </remarks>
public sealed class HttpListenerResponse : IDisposable public sealed class HttpListenerResponse : IDisposable
{ {
#region Private Fields #region Private Fields
@@ -59,7 +67,7 @@ namespace WebSocketSharp.Net {
#endregion #endregion
#region Internal Fields #region Internal Field
internal bool HeadersSent; internal bool HeadersSent;
@@ -85,17 +93,29 @@ namespace WebSocketSharp.Net {
#region Public Properties #region Public Properties
/// <summary>
/// Gets or sets the encoding that can be used with the entity body data included in the response.
/// </summary>
/// <value>
/// A <see cref="Encoding"/> that contains the encoding that can be used with the entity body data.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
public Encoding ContentEncoding { public Encoding ContentEncoding {
get { get {
if (content_encoding == null) if (content_encoding == null)
content_encoding = Encoding.Default; content_encoding = Encoding.Default;
return content_encoding; return content_encoding;
} }
set { set {
if (disposed) if (disposed)
throw new ObjectDisposedException (GetType ().ToString ()); throw new ObjectDisposedException (GetType ().ToString ());
// TODO: is null ok?
if (HeadersSent) if (HeadersSent)
throw new InvalidOperationException ("Cannot be changed after headers are sent."); throw new InvalidOperationException ("Cannot be changed after headers are sent.");
@@ -103,6 +123,22 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets the size of the entity body data included in the response.
/// </summary>
/// <value>
/// A <see cref="long"/> that contains the value of the Content-Length entity-header field.
/// The value is a number of bytes in the entity body data.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// The value specified for a set operation is less than zero.
/// </exception>
public long ContentLength64 { public long ContentLength64 {
get { return content_length; } get { return content_length; }
set { set {
@@ -113,51 +149,103 @@ namespace WebSocketSharp.Net {
throw new InvalidOperationException ("Cannot be changed after headers are sent."); throw new InvalidOperationException ("Cannot be changed after headers are sent.");
if (value < 0) if (value < 0)
throw new ArgumentOutOfRangeException ("Must be >= 0", "value"); throw new ArgumentOutOfRangeException ("Must be greater than or equal zero.", "value");
cl_set = true; cl_set = true;
content_length = value; content_length = value;
} }
} }
/// <summary>
/// Gets or sets the media type of the entity body included in the response.
/// </summary>
/// <value>
/// The type of the content.
/// A <see cref="string"/> that contains the value of the Content-Type entity-header field.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
/// <exception cref="ArgumentNullException">
/// The value specified for a set operation is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// The value specified for a set operation is a <see cref="String.Empty"/>.
/// </exception>
public string ContentType { public string ContentType {
get { return content_type; } get { return content_type; }
set { set {
// TODO: is null ok?
if (disposed) if (disposed)
throw new ObjectDisposedException (GetType ().ToString ()); throw new ObjectDisposedException (GetType ().ToString ());
if (HeadersSent) if (HeadersSent)
throw new InvalidOperationException ("Cannot be changed after headers are sent."); throw new InvalidOperationException ("Cannot be changed after headers are sent.");
if (value.IsNull ())
throw new ArgumentNullException ("value");
if (value.IsEmpty ())
throw new ArgumentException ("Must not be empty.", "value");
content_type = value; content_type = value;
} }
} }
// RFC 2109, 2965 + the netscape specification at http://wp.netscape.com/newsref/std/cookie_spec.html /// <summary>
/// Gets or sets the cookies returned with the response.
/// </summary>
/// <value>
/// A <see cref="CookieCollection"/> that contains the cookies returned with the response.
/// </value>
public CookieCollection Cookies { public CookieCollection Cookies {
get { get {
if (cookies == null) if (cookies == null)
cookies = new CookieCollection (); cookies = new CookieCollection ();
return cookies; return cookies;
} }
set { cookies = value; } // null allowed? set { cookies = value; }
} }
/// <summary>
/// Gets or sets the HTTP headers returned to the client.
/// </summary>
/// <value>
/// A <see cref="WebHeaderCollection"/> that contains the HTTP headers returned to the client.
/// </value>
public WebHeaderCollection Headers { public WebHeaderCollection Headers {
get { return headers; } get { return headers; }
set { set {
/** /*
* "If you attempt to set a Content-Length, Keep-Alive, Transfer-Encoding, or * "If you attempt to set a Content-Length, Keep-Alive, Transfer-Encoding, or
* WWW-Authenticate header using the Headers property, an exception will be * WWW-Authenticate header using the Headers property, an exception will be
* thrown. Use the KeepAlive or ContentLength64 properties to set these headers. * thrown. Use the KeepAlive or ContentLength64 properties to set these headers.
* You cannot set the Transfer-Encoding or WWW-Authenticate headers manually." * You cannot set the Transfer-Encoding or WWW-Authenticate headers manually."
*/ */
// TODO: check if this is marked readonly after headers are sent. // TODO: Support for InvalidOperationException.
// TODO: check if this is marked readonly after headers are sent.
headers = value; headers = value;
} }
} }
/// <summary>
/// Gets or sets a value indicating whether the server requests a persistent connection.
/// </summary>
/// <value>
/// <c>true</c> if the server requests a persistent connection; otherwise, <c>false</c>.
/// The default is <c>true</c>.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
public bool KeepAlive { public bool KeepAlive {
get { return keep_alive; } get { return keep_alive; }
set { set {
@@ -171,8 +259,20 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets a <see cref="Stream"/> to use to write the entity body data.
/// </summary>
/// <value>
/// A <see cref="Stream"/> to use to write the entity body data.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
public Stream OutputStream { public Stream OutputStream {
get { get {
if (disposed)
throw new ObjectDisposedException (GetType ().ToString ());
if (output_stream == null) if (output_stream == null)
output_stream = context.Connection.GetResponseStream (); output_stream = context.Connection.GetResponseStream ();
@@ -180,6 +280,25 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets the HTTP version used in the response.
/// </summary>
/// <value>
/// A <see cref="Version"/> that contains the HTTP version used in the response.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
/// <exception cref="ArgumentNullException">
/// The value specified for a set operation is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// The value specified for a set operation does not have its <see cref="Version.Major">Major</see> property set to 1 or
/// does not have its <see cref="Version.Minor">Minor</see> property set to either 0 or 1.
/// </exception>
public Version ProtocolVersion { public Version ProtocolVersion {
get { return version; } get { return version; }
set { set {
@@ -188,20 +307,32 @@ namespace WebSocketSharp.Net {
if (HeadersSent) if (HeadersSent)
throw new InvalidOperationException ("Cannot be changed after headers are sent."); throw new InvalidOperationException ("Cannot be changed after headers are sent.");
if (value == null) if (value == null)
throw new ArgumentNullException ("value"); throw new ArgumentNullException ("value");
if (value.Major != 1 || (value.Minor != 0 && value.Minor != 1)) if (value.Major != 1 || (value.Minor != 0 && value.Minor != 1))
throw new ArgumentException ("Must be 1.0 or 1.1", "value"); throw new ArgumentException ("Must be 1.0 or 1.1", "value");
if (disposed)
throw new ObjectDisposedException (GetType ().ToString ());
version = value; version = value;
} }
} }
/// <summary>
/// Gets or sets the URL to which the client is redirected to locate a requested resource.
/// </summary>
/// <value>
/// A <see cref="string"/> that contains the value of the Location response-header field.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
/// <exception cref="ArgumentException">
/// The value specified for a set operation is a <see cref="String.Empty"/>.
/// </exception>
public string RedirectLocation { public string RedirectLocation {
get { return location; } get { return location; }
set { set {
@@ -211,10 +342,25 @@ namespace WebSocketSharp.Net {
if (HeadersSent) if (HeadersSent)
throw new InvalidOperationException ("Cannot be changed after headers are sent."); throw new InvalidOperationException ("Cannot be changed after headers are sent.");
if (value.IsEmpty ())
throw new ArgumentException ("Must not be empty.", "value");
location = value; location = value;
} }
} }
/// <summary>
/// Gets or sets a value indicating whether the response uses the chunked transfer encoding.
/// </summary>
/// <value>
/// <c>true</c> if the response uses the chunked transfer encoding; otherwise, <c>false</c>.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
public bool SendChunked { public bool SendChunked {
get { return chunked; } get { return chunked; }
set { set {
@@ -228,6 +374,22 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets the HTTP status code returned to the client.
/// </summary>
/// <value>
/// An <see cref="int"/> that indicates the HTTP status code for the response to the request.
/// The default is <see cref="HttpStatusCode.OK"/>.
/// </value>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
/// <exception cref="InvalidOperationException">
/// The response has been sent already.
/// </exception>
/// <exception cref="ProtocolViolationException">
/// The value specified for a set operation is invalid. Valid values are between 100 and 999.
/// </exception>
public int StatusCode { public int StatusCode {
get { return status_code; } get { return status_code; }
set { set {
@@ -245,10 +407,18 @@ namespace WebSocketSharp.Net {
} }
} }
/// <summary>
/// Gets or sets a description of the HTTP status code returned to the client.
/// </summary>
/// <value>
/// A <see cref="String"/> that contains a description of the HTTP status code returned to the client.
/// </value>
public string StatusDescription { public string StatusDescription {
get { return status_description; } get { return status_description; }
set { set {
status_description = value; status_description = value.IsNullOrEmpty ()
? status_code.GetStatusDescription ()
: value;
} }
} }
@@ -256,27 +426,39 @@ namespace WebSocketSharp.Net {
#region Private Methods #region Private Methods
bool CanAddOrUpdate (Cookie cookie)
{
if (Cookies.Count == 0)
return true;
var found = FindCookie (cookie);
if (found.Count() == 0)
return true;
foreach (var c in found)
if (c.Version == cookie.Version)
return true;
return false;
}
void Close (bool force) void Close (bool force)
{ {
disposed = true; disposed = true;
context.Connection.Close (force); context.Connection.Close (force);
} }
bool FindCookie (Cookie cookie) IEnumerable<Cookie> FindCookie (Cookie cookie)
{ {
string name = cookie.Name; var name = cookie.Name;
string domain = cookie.Domain; var domain = cookie.Domain;
string path = cookie.Path; var path = cookie.Path;
foreach (Cookie c in cookies) {
if (name != c.Name)
continue;
if (domain != c.Domain)
continue;
if (path == c.Path)
return true;
}
return false; return from Cookie c in Cookies
where String.Compare (name, c.Name, true, CultureInfo.InvariantCulture) == 0 &&
String.Compare (domain, c.Domain, true, CultureInfo.InvariantCulture) == 0 &&
String.Compare (path, c.Path, false, CultureInfo.InvariantCulture) == 0
select c;
} }
void Init () void Init ()
@@ -308,7 +490,7 @@ namespace WebSocketSharp.Net {
} }
if (headers ["Server"] == null) if (headers ["Server"] == null)
headers.SetInternal ("Server", "Mono-HTTPAPI/1.0"); headers.SetInternal ("Server", "WebSocketSharp-HTTPAPI/1.0");
CultureInfo inv = CultureInfo.InvariantCulture; CultureInfo inv = CultureInfo.InvariantCulture;
if (headers ["Date"] == null) if (headers ["Date"] == null)
@@ -394,6 +576,9 @@ namespace WebSocketSharp.Net {
#region Explicit Interface Implementation #region Explicit Interface Implementation
/// <summary>
/// Releases all resource used by the <see cref="HttpListenerResponse"/>.
/// </summary>
void IDisposable.Dispose () void IDisposable.Dispose ()
{ {
Close (true); // TODO: Abort or Close? Close (true); // TODO: Abort or Close?
@@ -403,6 +588,9 @@ namespace WebSocketSharp.Net {
#region Public Methods #region Public Methods
/// <summary>
/// Closes the connection to the client without sending a response.
/// </summary>
public void Abort () public void Abort ()
{ {
if (disposed) if (disposed)
@@ -411,21 +599,44 @@ namespace WebSocketSharp.Net {
Close (true); Close (true);
} }
/// <summary>
/// Adds the specified HTTP header <paramref name="name"/> and <paramref name="value"/> to
/// the headers for this response.
/// </summary>
/// <param name="name">
/// A <see cref="string"/> that contains the name of the HTTP header to add.
/// </param>
/// <param name="value">
/// A <see cref="string"/> that contains the value of the HTTP header to add.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="name"/> is <see langword="null"/> or <see cref="String.Empty"/>.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// The length of <paramref name="value"/> is greater than 65,535 characters.
/// </exception>
public void AddHeader (string name, string value) public void AddHeader (string name, string value)
{ {
if (name == null) if (name.IsNullOrEmpty())
throw new ArgumentNullException ("name"); throw new ArgumentNullException ("name");
if (name == "") // TODO: Check for forbidden headers and invalid characters.
throw new ArgumentException ("'name' cannot be empty", "name");
// TODO: check for forbidden headers and invalid characters
if (value.Length > 65535) if (value.Length > 65535)
throw new ArgumentOutOfRangeException ("value"); throw new ArgumentOutOfRangeException ("value");
headers.Set (name, value); headers.Set (name, value);
} }
/// <summary>
/// Adds the specified <see cref="Cookie"/> to the <see cref="Cookies"/> sent with the response.
/// </summary>
/// <param name="cookie">
/// A <see cref="Cookie"/> to add to the <see cref="Cookies"/>.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="cookie"/> is <see langword="null"/>.
/// </exception>
public void AppendCookie (Cookie cookie) public void AppendCookie (Cookie cookie)
{ {
if (cookie == null) if (cookie == null)
@@ -434,13 +645,26 @@ namespace WebSocketSharp.Net {
Cookies.Add (cookie); Cookies.Add (cookie);
} }
/// <summary>
/// Appends a <paramref name="value"/> to the specified HTTP header sent with the response.
/// </summary>
/// <param name="name">
/// A <see cref="string"/> that contains the name of the HTTP header to append <paramref name="value"/> to.
/// </param>
/// <param name="value">
/// A <see cref="string"/> that contains the value to append to the HTTP header.
/// </param>
/// <exception cref="ArgumentException">
/// <paramref name="name"/> is <see langword="null"/> or <see cref="String.Empty"/>.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// The length of <paramref name="value"/> is greater than 65,535 characters.
/// </exception>
public void AppendHeader (string name, string value) public void AppendHeader (string name, string value)
{ {
if (name == null) // TODO: Check for forbidden headers and invalid characters.
throw new ArgumentNullException ("name"); if (name.IsNullOrEmpty())
throw new ArgumentException ("'name' cannot be null or empty", "name");
if (name == "")
throw new ArgumentException ("'name' cannot be empty", "name");
if (value.Length > 65535) if (value.Length > 65535)
throw new ArgumentOutOfRangeException ("value"); throw new ArgumentOutOfRangeException ("value");
@@ -448,6 +672,10 @@ namespace WebSocketSharp.Net {
headers.Add (name, value); headers.Add (name, value);
} }
/// <summary>
/// Sends the response to the client and releases the resources associated with
/// the <see cref="HttpListenerResponse"/> instance.
/// </summary>
public void Close () public void Close ()
{ {
if (disposed) if (disposed)
@@ -456,20 +684,42 @@ namespace WebSocketSharp.Net {
Close (false); Close (false);
} }
/// <summary>
/// Sends the response with the specified array of <see cref="byte"/> to the client and
/// releases the resources associated with the <see cref="HttpListenerResponse"/> instance.
/// </summary>
/// <param name="responseEntity">
/// An array of <see cref="byte"/> that contains the response entity body data.
/// </param>
/// <param name="willBlock">
/// <c>true</c> if this method blocks execution while flushing the stream to the client; otherwise, <c>false</c>.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="responseEntity"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ObjectDisposedException">
/// This object is closed.
/// </exception>
public void Close (byte [] responseEntity, bool willBlock) public void Close (byte [] responseEntity, bool willBlock)
{ {
if (disposed) if (disposed)
return; throw new ObjectDisposedException (GetType ().ToString ());
if (responseEntity == null) if (responseEntity == null)
throw new ArgumentNullException ("responseEntity"); throw new ArgumentNullException ("responseEntity");
// TODO: if willBlock -> BeginWrite + Close ? // TODO: If willBlock -> BeginWrite + Close?
ContentLength64 = responseEntity.Length; ContentLength64 = responseEntity.Length;
OutputStream.Write (responseEntity, 0, (int) content_length); OutputStream.Write (responseEntity, 0, (int) content_length);
Close (false); Close (false);
} }
/// <summary>
/// Copies properties from the specified <see cref="HttpListenerResponse"/> to this response.
/// </summary>
/// <param name="templateResponse">
/// A <see cref="HttpListenerResponse"/> to copy.
/// </param>
public void CopyFrom (HttpListenerResponse templateResponse) public void CopyFrom (HttpListenerResponse templateResponse)
{ {
headers.Clear (); headers.Clear ();
@@ -481,25 +731,40 @@ namespace WebSocketSharp.Net {
version = templateResponse.version; version = templateResponse.version;
} }
/// <summary>
/// Configures the response to redirect the client's request to the specified <paramref name="url"/>.
/// </summary>
/// <param name="url">
/// A <see cref="string"/> that contains a URL to redirect the client's request to.
/// </param>
public void Redirect (string url) public void Redirect (string url)
{ {
StatusCode = 302; // Found StatusCode = (int) HttpStatusCode.Redirect;
location = url; location = url;
} }
/// <summary>
/// Adds or updates a <see cref="Cookie"/> in the <see cref="Cookies"/> sent with the response.
/// </summary>
/// <param name="cookie">
/// A <see cref="Cookie"/> to set.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="cookie"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="cookie"/> already exists in the <see cref="Cookies"/> and
/// could not be replaced.
/// </exception>
public void SetCookie (Cookie cookie) public void SetCookie (Cookie cookie)
{ {
if (cookie == null) if (cookie.IsNull())
throw new ArgumentNullException ("cookie"); throw new ArgumentNullException ("cookie");
if (cookies != null) { if (!CanAddOrUpdate (cookie))
if (FindCookie (cookie)) throw new ArgumentException ("Cannot be replaced.", "cookie");
throw new ArgumentException ("The cookie already exists.");
} else {
cookies = new CookieCollection ();
}
cookies.Add (cookie); Cookies.Add (cookie);
} }
#endregion #endregion

View File

@@ -36,8 +36,8 @@ namespace WebSocketSharp.Server {
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// An HTTP request event occurs when a <see cref="HttpServer"/> instance receives an HTTP request. /// An HTTP request event occurs when a <see cref="HttpServer"/> instance receives an HTTP request.
/// If you want to get the HTTP request objects, you should access the <see cref="ResponseEventArgs.Request"/> property. /// If you want to get the HTTP request objects, you should access the <see cref="Request"/> property.
/// If you want to get the HTTP response objects to send, you should access the <see cref="ResponseEventArgs.Response"/> property. /// If you want to get the HTTP response objects to send, you should access the <see cref="Response"/> property.
/// </remarks> /// </remarks>
public class HttpRequestEventArgs : EventArgs public class HttpRequestEventArgs : EventArgs
{ {

View File

@@ -43,6 +43,21 @@
<paramref name="listener" /> is <see langword="null" />. <paramref name="listener" /> is <see langword="null" />.
</exception> </exception>
</member> </member>
<member name="M:WebSocketSharp.Ext.Contains(System.String,System.Char[])">
<summary>
Determines whether the specified <see cref="T:System.String" /> contains any of characters
in the specified array of <see cref="T:System.Char" />.
</summary>
<returns>
<c>true</c> if <paramref name="str" /> contains any of <paramref name="chars" />; otherwise, <c>false</c>.
</returns>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="chars">
An array of <see cref="T:System.Char" /> that contains characters to find.
</param>
</member>
<member name="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)"> <member name="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)">
<summary> <summary>
Emit the specified <see cref="T:System.EventHandler" /> delegate if is not <see langword="null" />. Emit the specified <see cref="T:System.EventHandler" /> delegate if is not <see langword="null" />.
@@ -206,12 +221,26 @@
Determines whether the specified <see cref="T:System.String" /> is a <see cref="F:System.String.Empty" />. Determines whether the specified <see cref="T:System.String" /> is a <see cref="F:System.String.Empty" />.
</summary> </summary>
<returns> <returns>
<c>true</c> if the <paramref name="value" /> parameter is a <see cref="F:System.String.Empty" />; otherwise, <c>false</c>. <c>true</c> if <paramref name="value" /> is <see cref="F:System.String.Empty" />; otherwise, <c>false</c>.
</returns> </returns>
<param name="value"> <param name="value">
A <see cref="T:System.String" /> to test. A <see cref="T:System.String" /> to test.
</param> </param>
</member> </member>
<member name="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char)">
<summary>
Determines whether the specified <see cref="T:System.String" /> is enclosed in the specified <see cref="T:System.Char" />.
</summary>
<returns>
<c>true</c> if <paramref name="str" /> is enclosed in <paramref name="c" />; otherwise, <c>false</c>.
</returns>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="c">
A <see cref="T:System.Char" /> that contains character to find.
</param>
</member>
<member name="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder)"> <member name="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder)">
<summary> <summary>
Determines whether the specified <see cref="T:WebSocketSharp.ByteOrder" /> is host (this computer architecture) byte order. Determines whether the specified <see cref="T:WebSocketSharp.ByteOrder" /> is host (this computer architecture) byte order.
@@ -714,7 +743,7 @@
Gets the received data as a <see cref="T:System.String" />. Gets the received data as a <see cref="T:System.String" />.
</summary> </summary>
<value> <value>
A <see cref="T:System.String" /> that contains a received data. A <see cref="T:System.String" /> that contains the received data.
</value> </value>
</member> </member>
<member name="P:WebSocketSharp.MessageEventArgs.RawData"> <member name="P:WebSocketSharp.MessageEventArgs.RawData">
@@ -722,15 +751,15 @@
Gets the received data as an array of <see cref="T:System.Byte" />. Gets the received data as an array of <see cref="T:System.Byte" />.
</summary> </summary>
<value> <value>
An array of <see cref="T:System.Byte" /> that contains a received data. An array of <see cref="T:System.Byte" /> that contains the received data.
</value> </value>
</member> </member>
<member name="P:WebSocketSharp.MessageEventArgs.Type"> <member name="P:WebSocketSharp.MessageEventArgs.Type">
<summary> <summary>
Gets the type of received data. Gets the type of the received data.
</summary> </summary>
<value> <value>
One of the <see cref="!:WebSocketSharp.Frame.Opcode" /> that indicates the type of received data. One of the <see cref="T:WebSocketSharp.Opcode" /> values that indicates the type of the received data.
</value> </value>
</member> </member>
<member name="T:WebSocketSharp.CloseEventArgs"> <member name="T:WebSocketSharp.CloseEventArgs">
@@ -739,8 +768,8 @@
</summary> </summary>
<remarks> <remarks>
The <see cref="E:WebSocketSharp.WebSocket.OnClose" /> event occurs when the WebSocket receives a close control frame or The <see cref="E:WebSocketSharp.WebSocket.OnClose" /> event occurs when the WebSocket receives a close control frame or
the <c>WebSocket.Close</c> method is called. If you want to get the reason for closure, you should access the <see cref="P:WebSocketSharp.CloseEventArgs.Code" /> or the <c>WebSocket.Close</c> method is called. If you want to get the reason for closure, you should access
<see cref="P:WebSocketSharp.CloseEventArgs.Reason" /> properties. the <see cref="P:WebSocketSharp.CloseEventArgs.Code" /> or <see cref="P:WebSocketSharp.CloseEventArgs.Reason" /> properties.
</remarks> </remarks>
</member> </member>
<member name="P:WebSocketSharp.CloseEventArgs.Code"> <member name="P:WebSocketSharp.CloseEventArgs.Code">
@@ -761,10 +790,10 @@
</member> </member>
<member name="P:WebSocketSharp.CloseEventArgs.WasClean"> <member name="P:WebSocketSharp.CloseEventArgs.WasClean">
<summary> <summary>
Indicates whether the connection closed cleanly or not. Indicates whether the WebSocket connection closed cleanly.
</summary> </summary>
<value> <value>
<c>true</c> if the connection closed cleanly; otherwise, <c>false</c>. <c>true</c> if the WebSocket connection closed cleanly; otherwise, <c>false</c>.
</value> </value>
</member> </member>
<member name="T:WebSocketSharp.ByteOrder"> <member name="T:WebSocketSharp.ByteOrder">
@@ -1472,6 +1501,491 @@
Indicates anonymous authentication. Indicates anonymous authentication.
</summary> </summary>
</member> </member>
<member name="T:WebSocketSharp.Net.Cookie">
<summary>
Provides a set of properties and methods to use to manage the HTTP Cookie.
</summary>
<remarks>
The Cookie class cannot be inherited.
</remarks>
</member>
<member name="M:WebSocketSharp.Net.Cookie.#ctor">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class.
</summary>
</member>
<member name="M:WebSocketSharp.Net.Cookie.#ctor(System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" /> and <paramref name="value" />.
</summary>
<param name="name">
A <see cref="T:System.String" /> that contains the Name of the cookie.
</param>
<param name="value">
A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</member>
<member name="M:WebSocketSharp.Net.Cookie.#ctor(System.String,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" />, <paramref name="value" /> and <paramref name="path" />.
</summary>
<param name="name">
A <see cref="T:System.String" /> that contains the Name of the cookie.
</param>
<param name="value">
A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<param name="path">
A <see cref="T:System.String" /> that contains the value of the Path attribute of the cookie.
</param>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</member>
<member name="M:WebSocketSharp.Net.Cookie.#ctor(System.String,System.String,System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" />, <paramref name="value" />,
<paramref name="path" /> and <paramref name="domain" />.
</summary>
<param name="name">
A <see cref="T:System.String" /> that contains the Name of the cookie.
</param>
<param name="value">
A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<param name="path">
A <see cref="T:System.String" /> that contains the value of the Path attribute of the cookie.
</param>
<param name="domain">
A <see cref="T:System.String" /> that contains the value of the Domain attribute of the cookie.
</param>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Comment">
<summary>
Gets or sets the value of the Comment attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a comment to document intended use of the cookie.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.CommentUri">
<summary>
Gets or sets the value of the CommentURL attribute of the cookie.
</summary>
<value>
A <see cref="T:System.Uri" /> that contains a URI that provides the comment
to document intended use of the cookie.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Discard">
<summary>
Gets or sets a value indicating whether the client discards the cookie unconditionally
when the client terminates.
</summary>
<value>
<c>true</c> if the client discards the cookie unconditionally when the client terminates;
otherwise, <c>false</c>. The default is <c>false</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Domain">
<summary>
Gets or sets the value of the Domain attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a URI for which the cookie is valid.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Expired">
<summary>
Gets or sets a value indicating whether the cookie has expired.
</summary>
<value>
<c>true</c> if the cookie has expired; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Expires">
<summary>
Gets or sets the value of the Expires attribute of the cookie.
</summary>
<value>
A <see cref="T:System.DateTime" /> that contains the date and time at which the cookie expires.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.HttpOnly">
<summary>
Gets or sets a value indicating non-HTTP APIs can access the cookie.
</summary>
<value>
<c>true</c> if non-HTTP APIs can not access the cookie; otherwise, <c>false</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Name">
<summary>
Gets or sets the Name of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains the Name of the cookie.
</value>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
The value specified for a set operation is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
The value specified for a set operation contains an invalid character.
</para>
</exception>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Path">
<summary>
Gets or sets the value of the Path attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a subset of URI on the origin server
to which the cookie applies.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Port">
<summary>
Gets or sets the value of the Port attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a list of the TCP ports to which the cookie applies.
</value>
<exception cref="T:WebSocketSharp.Net.CookieException">
The value specified for a set operation could not be parsed or is not enclosed in double quotes.
</exception>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Secure">
<summary>
Gets or sets a value indicating whether the security level of the cookie is secure.
</summary>
<remarks>
When this property is <c>true</c>, the cookie may be included in the HTTP request
only if the request is transmitted over the HTTPS.
</remarks>
<value>
<c>true</c> if the security level of the cookie is secure; otherwise, <c>false</c>.
The default is <c>false</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.TimeStamp">
<summary>
Gets the time when the cookie was issued.
</summary>
<value>
A <see cref="T:System.DateTime" /> that contains the time when the cookie was issued.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Value">
<summary>
Gets or sets the Value of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains the Value of the cookie.
</value>
</member>
<member name="P:WebSocketSharp.Net.Cookie.Version">
<summary>
Gets or sets the value of the Version attribute of the cookie.
</summary>
<value>
An <see cref="T:System.Int32" /> that contains the version of the HTTP state management
to which the cookie conforms.
</value>
<exception cref="T:System.ArgumentOutOfRangeException">
The value specified for a set operation is less than zero.
</exception>
</member>
<member name="M:WebSocketSharp.Net.Cookie.Equals(System.Object)">
<summary>
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</summary>
<param name="comparand">
An <see cref="T:System.Object" /> to compare with the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</param>
<returns>
<c>true</c> if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:WebSocketSharp.Net.Cookie" />;
otherwise, <c>false</c>.
</returns>
</member>
<member name="M:WebSocketSharp.Net.Cookie.GetHashCode">
<summary>
Serves as a hash function for a <see cref="T:WebSocketSharp.Net.Cookie" /> object.
</summary>
<returns>
An <see cref="T:System.Int32" /> that contains a hash code for this instance.
</returns>
</member>
<member name="M:WebSocketSharp.Net.Cookie.ToString">
<summary>
Returns a <see cref="T:System.String" /> that represents the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</summary>
<remarks>
This method returns a <see cref="T:System.String" /> to use to send an HTTP Cookie to an origin server.
</remarks>
<returns>
A <see cref="T:System.String" /> that represents the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</returns>
</member>
<member name="T:WebSocketSharp.Net.CookieCollection">
<summary>
Provides a collection container for instances of the <see cref="T:WebSocketSharp.Net.Cookie" /> class.
</summary>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.#ctor">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> class.
</summary>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32)">
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="index" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="index" /> in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<param name="index">
An <see cref="T:System.Int32" /> that is the zero-based index of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero or <paramref name="index" /> is greater than or
equal to <see cref="P:WebSocketSharp.Net.CookieCollection.Count" />.
</exception>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.Item(System.String)">
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="name" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="name" /> in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<param name="name">
A <see cref="T:System.String" /> that is the name of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" />.
</exception>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.Count">
<summary>
Gets the number of cookies contained in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
An <see cref="T:System.Int32" /> that indicates the number of cookies contained in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.IsReadOnly">
<summary>
Gets a value indicating whether the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is read-only.
</summary>
<value>
<c>true</c> if the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is read-only; otherwise, <c>false</c>.
The default is <c>true</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.IsSynchronized">
<summary>
Gets a value indicating whether access to the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is thread safe.
</summary>
<value>
<c>true</c> if access to the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is thread safe; otherwise, <c>false</c>.
The default is <c>false</c>.
</value>
</member>
<member name="P:WebSocketSharp.Net.CookieCollection.SyncRoot">
<summary>
Gets an object to use to synchronize access to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
An <see cref="T:System.Object" /> to use to synchronize access to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie)">
<summary>
Add the specified <see cref="T:WebSocketSharp.Net.Cookie" /> to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<param name="cookie">
A <see cref="T:WebSocketSharp.Net.Cookie" /> to add to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection)">
<summary>
Add the elements of the specified <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the current <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<param name="cookies">
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> to add to the current <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookies" /> is <see langword="null" />.
</exception>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32)">
<summary>
Copies the elements of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the specified <see cref="T:System.Array" />,
starting at the specified <paramref name="index" /> in the <paramref name="array" />.
</summary>
<param name="array">
An <see cref="T:System.Array" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32)">
<summary>
Copies the elements of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the specified array of <see cref="T:WebSocketSharp.Net.Cookie" />,
starting at the specified <paramref name="index" /> in the <paramref name="array" />.
</summary>
<param name="array">
An array of <see cref="T:WebSocketSharp.Net.Cookie" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
</member>
<member name="M:WebSocketSharp.Net.CookieCollection.GetEnumerator">
<summary>
Gets the enumerator to use to iterate through the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<returns>
An instance of an implementation of the <see cref="T:System.Collections.IEnumerator" /> interface
to use to iterate through the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</returns>
</member>
<member name="T:WebSocketSharp.Net.CookieException">
<summary>
The exception that is thrown when a <see cref="T:WebSocketSharp.Net.Cookie" /> gets an error.
</summary>
</member>
<member name="M:WebSocketSharp.Net.CookieException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieException" /> class
with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.
</summary>
<param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the contextual information about the source or destination.
</param>
</member>
<member name="M:WebSocketSharp.Net.CookieException.#ctor">
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieException" /> class.
</summary>
</member>
<member name="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.CookieException" />.
</summary>
<param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
</member>
<member name="M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.CookieException" />.
</summary>
<param name="serializationInfo">
A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
</param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
</member>
<member name="T:WebSocketSharp.Net.HttpListener"> <member name="T:WebSocketSharp.Net.HttpListener">
<summary> <summary>
Provides a simple, programmatically controlled HTTP listener. Provides a simple, programmatically controlled HTTP listener.
@@ -1846,7 +2360,7 @@
</member> </member>
<member name="T:WebSocketSharp.Net.HttpListenerRequest"> <member name="T:WebSocketSharp.Net.HttpListenerRequest">
<summary> <summary>
Provides access to the HTTP request objects sent to a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance. Provides access to a request to a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance.
</summary> </summary>
<remarks> <remarks>
The HttpListenerRequest class cannot be inherited. The HttpListenerRequest class cannot be inherited.
@@ -1874,7 +2388,7 @@
Gets the encoding that can be used with the entity body data included in the request. Gets the encoding that can be used with the entity body data included in the request.
</summary> </summary>
<value> <value>
A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with entity body data. A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with the entity body data.
</value> </value>
</member> </member>
<member name="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64"> <member name="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64">
@@ -1883,7 +2397,7 @@
</summary> </summary>
<value> <value>
A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field. A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field.
<c>-1</c> if the size is not known. The value is a number of bytes in the entity body data. <c>-1</c> if the size is not known.
</value> </value>
</member> </member>
<member name="P:WebSocketSharp.Net.HttpListenerRequest.ContentType"> <member name="P:WebSocketSharp.Net.HttpListenerRequest.ContentType">
@@ -2120,6 +2634,298 @@
This method is not implemented. This method is not implemented.
</exception> </exception>
</member> </member>
<member name="T:WebSocketSharp.Net.HttpListenerResponse">
<summary>
Provides access to a response to a request being processed by a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance.
</summary>
<remarks>
The HttpListenerResponse class cannot be inherited.
</remarks>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.ContentEncoding">
<summary>
Gets or sets the encoding that can be used with the entity body data included in the response.
</summary>
<value>
A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with the entity body data.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.ContentLength64">
<summary>
Gets or sets the size of the entity body data included in the response.
</summary>
<value>
A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field.
The value is a number of bytes in the entity body data.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The value specified for a set operation is less than zero.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.ContentType">
<summary>
Gets or sets the media type of the entity body included in the response.
</summary>
<value>
The type of the content.
A <see cref="T:System.String" /> that contains the value of the Content-Type entity-header field.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentNullException">
The value specified for a set operation is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation is a <see cref="F:System.String.Empty" />.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.Cookies">
<summary>
Gets or sets the cookies returned with the response.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that contains the cookies returned with the response.
</value>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.Headers">
<summary>
Gets or sets the HTTP headers returned to the client.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> that contains the HTTP headers returned to the client.
</value>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.KeepAlive">
<summary>
Gets or sets a value indicating whether the server requests a persistent connection.
</summary>
<value>
<c>true</c> if the server requests a persistent connection; otherwise, <c>false</c>.
The default is <c>true</c>.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.OutputStream">
<summary>
Gets a <see cref="T:System.IO.Stream" /> to use to write the entity body data.
</summary>
<value>
A <see cref="T:System.IO.Stream" /> to use to write the entity body data.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.ProtocolVersion">
<summary>
Gets or sets the HTTP version used in the response.
</summary>
<value>
A <see cref="T:System.Version" /> that contains the HTTP version used in the response.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentNullException">
The value specified for a set operation is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation does not have its <see cref="P:System.Version.Major">Major</see> property set to 1 or
does not have its <see cref="P:System.Version.Minor">Minor</see> property set to either 0 or 1.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.RedirectLocation">
<summary>
Gets or sets the URL to which the client is redirected to locate a requested resource.
</summary>
<value>
A <see cref="T:System.String" /> that contains the value of the Location response-header field.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation is a <see cref="F:System.String.Empty" />.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.SendChunked">
<summary>
Gets or sets a value indicating whether the response uses the chunked transfer encoding.
</summary>
<value>
<c>true</c> if the response uses the chunked transfer encoding; otherwise, <c>false</c>.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.StatusCode">
<summary>
Gets or sets the HTTP status code returned to the client.
</summary>
<value>
An <see cref="T:System.Int32" /> that indicates the HTTP status code for the response to the request.
The default is <see cref="F:WebSocketSharp.Net.HttpStatusCode.OK" />.
</value>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.Net.ProtocolViolationException">
The value specified for a set operation is invalid. Valid values are between 100 and 999.
</exception>
</member>
<member name="P:WebSocketSharp.Net.HttpListenerResponse.StatusDescription">
<summary>
Gets or sets a description of the HTTP status code returned to the client.
</summary>
<value>
A <see cref="T:System.String" /> that contains a description of the HTTP status code returned to the client.
</value>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.System#IDisposable#Dispose">
<summary>
Releases all resource used by the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" />.
</summary>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.Abort">
<summary>
Closes the connection to the client without sending a response.
</summary>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.AddHeader(System.String,System.String)">
<summary>
Adds the specified HTTP header <paramref name="name" /> and <paramref name="value" /> to
the headers for this response.
</summary>
<param name="name">
A <see cref="T:System.String" /> that contains the name of the HTTP header to add.
</param>
<param name="value">
A <see cref="T:System.String" /> that contains the value of the HTTP header to add.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65,535 characters.
</exception>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.AppendCookie(WebSocketSharp.Net.Cookie)">
<summary>
Adds the specified <see cref="T:WebSocketSharp.Net.Cookie" /> to the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> sent with the response.
</summary>
<param name="cookie">
A <see cref="T:WebSocketSharp.Net.Cookie" /> to add to the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" />.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.AppendHeader(System.String,System.String)">
<summary>
Appends a <paramref name="value" /> to the specified HTTP header sent with the response.
</summary>
<param name="name">
A <see cref="T:System.String" /> that contains the name of the HTTP header to append <paramref name="value" /> to.
</param>
<param name="value">
A <see cref="T:System.String" /> that contains the value to append to the HTTP header.
</param>
<exception cref="T:System.ArgumentException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65,535 characters.
</exception>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.Close">
<summary>
Sends the response to the client and releases the resources associated with
the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> instance.
</summary>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.Close(System.Byte[],System.Boolean)">
<summary>
Sends the response with the specified array of <see cref="T:System.Byte" /> to the client and
releases the resources associated with the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> instance.
</summary>
<param name="responseEntity">
An array of <see cref="T:System.Byte" /> that contains the response entity body data.
</param>
<param name="willBlock">
<c>true</c> if this method blocks execution while flushing the stream to the client; otherwise, <c>false</c>.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="responseEntity" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.CopyFrom(WebSocketSharp.Net.HttpListenerResponse)">
<summary>
Copies properties from the specified <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> to this response.
</summary>
<param name="templateResponse">
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> to copy.
</param>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.Redirect(System.String)">
<summary>
Configures the response to redirect the client's request to the specified <paramref name="url" />.
</summary>
<param name="url">
A <see cref="T:System.String" /> that contains a URL to redirect the client's request to.
</param>
</member>
<member name="M:WebSocketSharp.Net.HttpListenerResponse.SetCookie(WebSocketSharp.Net.Cookie)">
<summary>
Adds or updates a <see cref="T:WebSocketSharp.Net.Cookie" /> in the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> sent with the response.
</summary>
<param name="cookie">
A <see cref="T:WebSocketSharp.Net.Cookie" /> to set.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="cookie" /> already exists in the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> and
could not be replaced.
</exception>
</member>
<member name="M:WebSocketSharp.Net.HttpUtility.HtmlDecode(System.String)"> <member name="M:WebSocketSharp.Net.HttpUtility.HtmlDecode(System.String)">
<summary> <summary>
Decodes an HTML-encoded string and returns the decoded string. Decodes an HTML-encoded string and returns the decoded string.
@@ -3663,8 +4469,8 @@
</summary> </summary>
<remarks> <remarks>
An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request. An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
If you want to get the HTTP request objects, you should access the <see cref="!:ResponseEventArgs.Request" /> property. If you want to get the HTTP request objects, you should access the <see cref="P:WebSocketSharp.Server.HttpRequestEventArgs.Request" /> property.
If you want to get the HTTP response objects to send, you should access the <see cref="!:ResponseEventArgs.Response" /> property. If you want to get the HTTP response objects to send, you should access the <see cref="P:WebSocketSharp.Server.HttpRequestEventArgs.Response" /> property.
</remarks> </remarks>
</member> </member>
<member name="P:WebSocketSharp.Server.HttpRequestEventArgs.Request"> <member name="P:WebSocketSharp.Server.HttpRequestEventArgs.Request">

View File

@@ -207,8 +207,8 @@
</div> </div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.Cookie">Cookie Class</h1> <h1 class="PageTitle" id="T:WebSocketSharp.Net.Cookie">Cookie Class</h1>
<p class="Summary" id="T:WebSocketSharp.Net.Cookie:Summary"> <p class="Summary" id="T:WebSocketSharp.Net.Cookie:Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a set of properties and methods to use to manage the HTTP Cookie.
</p> </p>
<div id="T:WebSocketSharp.Net.Cookie:Signature"> <div id="T:WebSocketSharp.Net.Cookie:Signature">
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public sealed class <b>Cookie</b></div> <div class="Signature">public sealed class <b>Cookie</b></div>
@@ -216,8 +216,8 @@
<div class="Remarks" id="T:WebSocketSharp.Net.Cookie:Docs"> <div class="Remarks" id="T:WebSocketSharp.Net.Cookie:Docs">
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.Cookie:Docs:Remarks"> <div class="SectionBox" id="T:WebSocketSharp.Net.Cookie:Docs:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> The Cookie class cannot be inherited.
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.Cookie:Docs:Version Information"> <div class="SectionBox" id="T:WebSocketSharp.Net.Cookie:Docs:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
@@ -243,8 +243,8 @@
</b>()</div> </b>()</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -258,8 +258,9 @@
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</td> with the specified <i>name</i> and <i>value</i>.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -273,8 +274,9 @@
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</td> with the specified <i>name</i>, <i>value</i> and <i>path</i>.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -288,8 +290,10 @@
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</td> with the specified <i>name</i>, <i>value</i>,
<i>path</i> and <i>domain</i>.
</td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -311,7 +315,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Comment attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -326,7 +332,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the CommentURL attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -341,7 +349,10 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets a value indicating whether the client discards the cookie unconditionally
when the client terminates.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -356,7 +367,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Domain attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -371,7 +384,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets a value indicating whether the cookie has expired.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -386,7 +401,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Expires attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -401,7 +418,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets a value indicating non-HTTP APIs can access the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -416,7 +435,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the Name of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -431,7 +452,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Path attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -446,7 +469,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Port attribute of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -461,7 +486,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets a value indicating whether the security level of the cookie is secure.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div></div></td> <td>[read-only]<div></div></td>
@@ -473,7 +500,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets the time when the cookie was issued.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -488,7 +517,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the Value of the cookie.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -503,7 +534,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets or sets the value of the Version attribute of the cookie.
</td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -519,7 +552,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.Cookie.Equals(System.Object)">Equals</a> <a href="#M:WebSocketSharp.Net.Cookie.Equals(System.Object)">Equals</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> is equal to the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -528,7 +563,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.Cookie.GetHashCode">GetHashCode</a> <a href="#M:WebSocketSharp.Net.Cookie.GetHashCode">GetHashCode</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a></nobr><blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a></nobr><blockquote>
Serves as a hash function for a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> object.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -537,7 +574,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.Cookie.ToString">ToString</a> <a href="#M:WebSocketSharp.Net.Cookie.ToString">ToString</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
Returns a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</blockquote></td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -580,8 +619,8 @@
<h3 id="C:WebSocketSharp.Net.Cookie">Cookie Constructor</h3> <h3 id="C:WebSocketSharp.Net.Cookie">Cookie Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.Cookie:member"> <blockquote id="C:WebSocketSharp.Net.Cookie:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>Cookie</b> ()</div> <div class="Signature">public <b>Cookie</b> ()</div>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@@ -596,8 +635,9 @@
<h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String)">Cookie Constructor</h3> <h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String)">Cookie Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String):member"> <blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</p> with the specified <i>name</i> and <i>value</i>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value)</div> <div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -607,16 +647,54 @@
<i>name</i> <i>name</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Name of the cookie.
</dd> </dd>
<dt> <dt>
<i>value</i> <i>value</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Value of the cookie.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
<p>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</p>
<p>
- or -
</p>
<p>
<i>name</i> contains an invalid character.
</p>
<p>
- or -
</p>
<p>
<i>value</i> is <tt>null</tt>.
</p>
<p>
- or -
</p>
<p>
<i>value</i> contains a string not enclosed in double quotes
that contains an invalid character.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String):Remarks"> <div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -629,8 +707,9 @@
<h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String)">Cookie Constructor</h3> <h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String)">Cookie Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String):member"> <blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</p> with the specified <i>name</i>, <i>value</i> and <i>path</i>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> path)</div> <div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> path)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -640,22 +719,60 @@
<i>name</i> <i>name</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Name of the cookie.
</dd> </dd>
<dt> <dt>
<i>value</i> <i>value</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Value of the cookie.
</dd> </dd>
<dt> <dt>
<i>path</i> <i>path</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the Path attribute of the cookie.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
<p>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</p>
<p>
- or -
</p>
<p>
<i>name</i> contains an invalid character.
</p>
<p>
- or -
</p>
<p>
<i>value</i> is <tt>null</tt>.
</p>
<p>
- or -
</p>
<p>
<i>value</i> contains a string not enclosed in double quotes
that contains an invalid character.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String):Remarks"> <div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -668,8 +785,10 @@
<h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String)">Cookie Constructor</h3> <h3 id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String)">Cookie Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String):member"> <blockquote id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class
</p> with the specified <i>name</i>, <i>value</i>,
<i>path</i> and <i>domain</i>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> path, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> domain)</div> <div class="Signature">public <b>Cookie</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> name, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> value, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> path, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> domain)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -679,28 +798,66 @@
<i>name</i> <i>name</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Name of the cookie.
</dd> </dd>
<dt> <dt>
<i>value</i> <i>value</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Value of the cookie.
</dd> </dd>
<dt> <dt>
<i>path</i> <i>path</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the Path attribute of the cookie.
</dd> </dd>
<dt> <dt>
<i>domain</i> <i>domain</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the value of the Domain attribute of the cookie.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
<p>
<i>name</i> is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</p>
<p>
- or -
</p>
<p>
<i>name</i> contains an invalid character.
</p>
<p>
- or -
</p>
<p>
<i>value</i> is <tt>null</tt>.
</p>
<p>
- or -
</p>
<p>
<i>value</i> contains a string not enclosed in double quotes
that contains an invalid character.
</p>
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String):Remarks"> <div class="SectionBox" id="C:WebSocketSharp.Net.Cookie(System.String,System.String,System.String,System.String):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -713,14 +870,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Comment">Comment Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Comment">Comment Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Comment:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Comment:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Comment attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Comment</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Comment</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Comment:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Comment:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a comment to document intended use of the cookie.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Comment:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Comment:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -733,14 +890,15 @@
<h3 id="P:WebSocketSharp.Net.Cookie.CommentUri">CommentUri Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.CommentUri">CommentUri Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.CommentUri:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.CommentUri:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the CommentURL attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> <b>CommentUri</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> <b>CommentUri</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.CommentUri:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.CommentUri:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> that contains a URI that provides the comment
</blockquote> to document intended use of the cookie.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.CommentUri:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.CommentUri:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -753,14 +911,16 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Discard">Discard Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Discard">Discard Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Discard:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Discard:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets a value indicating whether the client discards the cookie unconditionally
</p> when the client terminates.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Discard</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Discard</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Discard:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Discard:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if the client discards the cookie unconditionally when the client terminates;
</blockquote> otherwise, <tt>false</tt>. The default is <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Discard:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Discard:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -773,14 +933,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Domain">Domain Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Domain">Domain Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Domain:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Domain:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Domain attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Domain</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Domain</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Domain:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Domain:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a URI for which the cookie is valid.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Domain:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Domain:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -793,25 +953,26 @@
<h3 id="M:WebSocketSharp.Net.Cookie.Equals(System.Object)">Equals Method</h3> <h3 id="M:WebSocketSharp.Net.Cookie.Equals(System.Object)">Equals Method</h3>
<blockquote id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):member"> <blockquote id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> is equal to the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Equals</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> obj)</div> <div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Equals</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> comparand)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Parameters"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Parameters">
<dl> <dl>
<dt> <dt>
<i>obj</i> <i>comparand</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> to compare with the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Returns</h4> <h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Returns"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Returns">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> is equal to the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>;
</blockquote> otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.Equals(System.Object):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -824,14 +985,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Expired">Expired Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Expired">Expired Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Expired:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Expired:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets a value indicating whether the cookie has expired.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Expired</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Expired</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if the cookie has expired; otherwise, <tt>false</tt>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expired:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -844,14 +1005,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Expires">Expires Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Expires">Expires Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Expires:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Expires:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Expires attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <b>Expires</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <b>Expires</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> that contains the date and time at which the cookie expires.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Expires:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -864,14 +1025,14 @@
<h3 id="M:WebSocketSharp.Net.Cookie.GetHashCode">GetHashCode Method</h3> <h3 id="M:WebSocketSharp.Net.Cookie.GetHashCode">GetHashCode Method</h3>
<blockquote id="M:WebSocketSharp.Net.Cookie.GetHashCode:member"> <blockquote id="M:WebSocketSharp.Net.Cookie.GetHashCode:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Serves as a hash function for a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> object.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>GetHashCode</b> ()</div> <div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>GetHashCode</b> ()</div>
<h4 class="Subsection">Returns</h4> <h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.GetHashCode:Returns"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.GetHashCode:Returns">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a hash code for this instance.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.GetHashCode:Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.GetHashCode:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -884,14 +1045,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.HttpOnly">HttpOnly Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.HttpOnly">HttpOnly Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.HttpOnly:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.HttpOnly:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets a value indicating non-HTTP APIs can access the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>HttpOnly</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>HttpOnly</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.HttpOnly:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.HttpOnly:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if non-HTTP APIs can not access the cookie; otherwise, <tt>false</tt>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.HttpOnly:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.HttpOnly:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -904,13 +1065,38 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Name">Name Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Name">Name Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Name:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Name:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the Name of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Name</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Name</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Name:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Name:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Name of the cookie.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Name:Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
<p>
The value specified for a set operation is <tt>null</tt> or <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</p>
<p>
- or -
</p>
<p>
The value specified for a set operation contains an invalid character.
</p>
</td>
</tr>
</table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Name:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Name:Remarks">
@@ -924,14 +1110,15 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Path">Path Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Path">Path Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Path:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Path:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Path attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Path</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Path</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Path:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Path:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a subset of URI on the origin server
</blockquote> to which the cookie applies.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Path:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Path:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -944,13 +1131,30 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Port">Port Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Port">Port Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Port:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Port:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Port attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Port</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Port</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Port:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Port:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a list of the TCP ports to which the cookie applies.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Port:Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>
</td>
<td>
The value specified for a set operation could not be parsed or is not enclosed in double quotes.
</td>
</tr>
</table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Port:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Port:Remarks">
@@ -964,18 +1168,20 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Secure">Secure Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Secure">Secure Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Secure:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Secure:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets a value indicating whether the security level of the cookie is secure.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Secure</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Secure</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if the security level of the cookie is secure; otherwise, <tt>false</tt>.
</blockquote> The default is <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> When this property is <tt>true</tt>, the cookie may be included in the HTTP request
</div> only if the request is transmitted over the HTTPS.
</div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Version Information"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Secure:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
@@ -984,14 +1190,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.TimeStamp">TimeStamp Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.TimeStamp">TimeStamp Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.TimeStamp:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.TimeStamp:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets the time when the cookie was issued.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <b>TimeStamp</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> <b>TimeStamp</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.TimeStamp:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.TimeStamp:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.DateTime">DateTime</a> that contains the time when the cookie was issued.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.TimeStamp:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.TimeStamp:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -1004,18 +1210,18 @@
<h3 id="M:WebSocketSharp.Net.Cookie.ToString">ToString Method</h3> <h3 id="M:WebSocketSharp.Net.Cookie.ToString">ToString Method</h3>
<blockquote id="M:WebSocketSharp.Net.Cookie.ToString:member"> <blockquote id="M:WebSocketSharp.Net.Cookie.ToString:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Returns a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>ToString</b> ()</div> <div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>ToString</b> ()</div>
<h4 class="Subsection">Returns</h4> <h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Returns"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Returns">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that represents the current <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> This method returns a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to use to send an HTTP Cookie to an origin server.
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Version Information"> <div class="SectionBox" id="M:WebSocketSharp.Net.Cookie.ToString:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
@@ -1024,14 +1230,14 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Value">Value Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Value">Value Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Value:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Value:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the Value of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Value</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Value</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Value:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Value:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the Value of the cookie.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Value:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Value:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -1044,13 +1250,31 @@
<h3 id="P:WebSocketSharp.Net.Cookie.Version">Version Property</h3> <h3 id="P:WebSocketSharp.Net.Cookie.Version">Version Property</h3>
<blockquote id="P:WebSocketSharp.Net.Cookie.Version:member"> <blockquote id="P:WebSocketSharp.Net.Cookie.Version:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets or sets the value of the Version attribute of the cookie.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Version</b> { get; set; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Version</b> { get; set; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Version:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Version:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains the version of the HTTP state management
to which the cookie conforms.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.Cookie.Version:Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
The value specified for a set operation is less than zero.
</td>
</tr>
</table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Version:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.Cookie.Version:Remarks">

View File

@@ -207,8 +207,8 @@
</div> </div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.CookieCollection">CookieCollection Class</h1> <h1 class="PageTitle" id="T:WebSocketSharp.Net.CookieCollection">CookieCollection Class</h1>
<p class="Summary" id="T:WebSocketSharp.Net.CookieCollection:Summary"> <p class="Summary" id="T:WebSocketSharp.Net.CookieCollection:Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a collection container for instances of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class.
</p> </p>
<div id="T:WebSocketSharp.Net.CookieCollection:Signature"> <div id="T:WebSocketSharp.Net.CookieCollection:Signature">
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public class <b>CookieCollection</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.ICollection">ICollection</a></div> <div class="Signature">public class <b>CookieCollection</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.ICollection">ICollection</a></div>
@@ -243,8 +243,8 @@
</b>()</div> </b>()</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> class.
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -263,7 +263,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets the number of cookies contained in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div></div></td> <td>[read-only]<div></div></td>
@@ -275,7 +277,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets a value indicating whether the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is read-only.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div></div></td> <td>[read-only]<div></div></td>
@@ -287,7 +291,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets a value indicating whether access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is thread safe.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div><i>default property</i></div><div></div></td> <td>[read-only]<div><i>default property</i></div><div></div></td>
@@ -298,7 +304,9 @@
<td> <td>
<i> <i>
<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a> <a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>index</i> from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div><i>default property</i></div><div></div></td> <td>[read-only]<div><i>default property</i></div><div></div></td>
@@ -309,7 +317,9 @@
<td> <td>
<i> <i>
<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a> <a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>name</i> from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td>[read-only]<div></div></td> <td>[read-only]<div></div></td>
@@ -321,7 +331,9 @@
<td> <td>
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td> </i>.
Gets an object to use to synchronize access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -338,7 +350,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie)">Add</a> <a href="#M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie)">Add</a>
</b>(<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>)<blockquote>
Add the specified <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -348,7 +362,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection)">Add</a> <a href="#M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection)">Add</a>
</b>(<a href="../WebSocketSharp.Net/CookieCollection.html">CookieCollection</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="../WebSocketSharp.Net/CookieCollection.html">CookieCollection</a>)<blockquote>
Add the elements of the specified <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the current <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -358,7 +374,10 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32)">CopyTo</a> <a href="#M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32)">CopyTo</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<blockquote>
Copies the elements of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a>,
starting at the specified <i>index</i> in the <i>array</i>.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -368,7 +387,10 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32)">CopyTo</a> <a href="#M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32)">CopyTo</a>
</b>(<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>[], <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>[], <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<blockquote>
Copies the elements of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the specified array of <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>,
starting at the specified <i>index</i> in the <i>array</i>.
</blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -378,7 +400,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieCollection.GetEnumerator">GetEnumerator</a> <a href="#M:WebSocketSharp.Net.CookieCollection.GetEnumerator">GetEnumerator</a>
</b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a></nobr><blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>()<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a></nobr><blockquote>
Gets the enumerator to use to iterate through the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote></td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -421,8 +445,8 @@
<h3 id="C:WebSocketSharp.Net.CookieCollection">CookieCollection Constructor</h3> <h3 id="C:WebSocketSharp.Net.CookieCollection">CookieCollection Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.CookieCollection:member"> <blockquote id="C:WebSocketSharp.Net.CookieCollection:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> class.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>CookieCollection</b> ()</div> <div class="Signature">public <b>CookieCollection</b> ()</div>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@@ -437,8 +461,8 @@
<h3 id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie)">Add Method</h3> <h3 id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie):member"> <blockquote id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Add the specified <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Add</b> (<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a> cookie)</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Add</b> (<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a> cookie)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -448,10 +472,27 @@
<i>cookie</i> <i>cookie</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to add to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>cookie</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.Cookie):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -464,8 +505,8 @@
<h3 id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection)">Add Method</h3> <h3 id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection)">Add Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection):member"> <blockquote id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Add the elements of the specified <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the current <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Add</b> (<a href="../WebSocketSharp.Net/CookieCollection.html">CookieCollection</a> cookies)</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Add</b> (<a href="../WebSocketSharp.Net/CookieCollection.html">CookieCollection</a> cookies)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -475,10 +516,27 @@
<i>cookies</i> <i>cookies</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to add to the current <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>cookies</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.Add(WebSocketSharp.Net.CookieCollection):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -491,8 +549,9 @@
<h3 id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32)">CopyTo Method</h3> <h3 id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32)">CopyTo Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32):member"> <blockquote id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Copies the elements of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a>,
</p> starting at the specified <i>index</i> in the <i>array</i>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>CopyTo</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a> array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>CopyTo</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a> array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -502,16 +561,41 @@
<i>array</i> <i>array</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Array">Array</a> that is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd> </dd>
<dt> <dt>
<i>index</i> <i>index</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that indicates the zero-based index in <i>array</i> at which copying begins.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>array</i> is <tt>null</tt>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
<i>index</i> is less than zero.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(System.Array,System.Int32):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -524,8 +608,9 @@
<h3 id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32)">CopyTo Method</h3> <h3 id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32)">CopyTo Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32):member"> <blockquote id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Copies the elements of the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> to the specified array of <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a>,
</p> starting at the specified <i>index</i> in the <i>array</i>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>CopyTo</b> (<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>[] array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>CopyTo</b> (<a href="../WebSocketSharp.Net/Cookie.html">Cookie</a>[] array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> index)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -535,16 +620,41 @@
<i>array</i> <i>array</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An array of <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> that is the destination of the elements copied from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</dd> </dd>
<dt> <dt>
<i>index</i> <i>index</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that indicates the zero-based index in <i>array</i> at which copying begins.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>array</i> is <tt>null</tt>.
</td>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
<i>index</i> is less than zero.
</td>
</tr>
</table>
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.CopyTo(WebSocketSharp.Net.Cookie[],System.Int32):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -557,14 +667,14 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.Count">Count Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.Count">Count Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.Count:member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.Count:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets the number of cookies contained in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Count</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Count</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Count:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Count:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that indicates the number of cookies contained in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Count:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Count:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -577,14 +687,15 @@
<h3 id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator">GetEnumerator Method</h3> <h3 id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator">GetEnumerator Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:member"> <blockquote id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets the enumerator to use to iterate through the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a> <b>GetEnumerator</b> ()</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a> <b>GetEnumerator</b> ()</div>
<h4 class="Subsection">Returns</h4> <h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:Returns"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:Returns">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An instance of an implementation of the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.IEnumerator">IEnumerator</a> interface
</blockquote> to use to iterate through the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Net.CookieCollection.GetEnumerator:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -597,14 +708,15 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly">IsReadOnly Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly">IsReadOnly Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets a value indicating whether the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is read-only.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsReadOnly</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsReadOnly</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is read-only; otherwise, <tt>false</tt>.
</blockquote> The default is <tt>true</tt>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsReadOnly:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -617,14 +729,15 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized">IsSynchronized Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized">IsSynchronized Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets a value indicating whether access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is thread safe.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsSynchronized</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsSynchronized</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <tt>true</tt> if access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a> is thread safe; otherwise, <tt>false</tt>.
</blockquote> The default is <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.IsSynchronized:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>
@@ -637,8 +750,8 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32)">Item Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32)">Item Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>index</i> from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature"> <div class="Signature">
<p> <p>
@@ -651,13 +764,31 @@
<i>index</i> <i>index</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that is the zero-based index of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>index</i> in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentOutOfRangeException">ArgumentOutOfRangeException</a>
</td>
<td>
<i>index</i> is less than zero or <i>index</i> is greater than or
equal to <a href="../WebSocketSharp.Net/CookieCollection.html#P:WebSocketSharp.Net.CookieCollection.Count">CookieCollection.Count</a>.
</td>
</tr>
</table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.Int32):Remarks">
@@ -671,8 +802,8 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.Item(System.String)">Item Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.Item(System.String)">Item Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>name</i> from the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature"> <div class="Signature">
<p> <p>
@@ -685,13 +816,30 @@
<i>name</i> <i>name</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that is the name of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> to find.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> with the specified <i>name</i> in the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote>
<h4 class="Subsection">Exceptions</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):Exceptions">
<table class="TypeDocumentation">
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr valign="top">
<td>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
</td>
<td>
<i>name</i> is <tt>null</tt>.
</td>
</tr>
</table>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.Item(System.String):Remarks">
@@ -705,14 +853,14 @@
<h3 id="P:WebSocketSharp.Net.CookieCollection.SyncRoot">SyncRoot Property</h3> <h3 id="P:WebSocketSharp.Net.CookieCollection.SyncRoot">SyncRoot Property</h3>
<blockquote id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:member"> <blockquote id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Gets an object to use to synchronize access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> <b>SyncRoot</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> <b>SyncRoot</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:Value">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a> to use to synchronize access to the <a href="../WebSocketSharp.Net/CookieCollection.html">WebSocketSharp.Net.CookieCollection</a>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.CookieCollection.SyncRoot:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> <span class="NotEntered">Documentation for this section has not yet been entered.</span>

View File

@@ -207,8 +207,8 @@
</div> </div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.CookieException">CookieException Class</h1> <h1 class="PageTitle" id="T:WebSocketSharp.Net.CookieException">CookieException Class</h1>
<p class="Summary" id="T:WebSocketSharp.Net.CookieException:Summary"> <p class="Summary" id="T:WebSocketSharp.Net.CookieException:Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> The exception that is thrown when a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> gets an error.
</p> </p>
<div id="T:WebSocketSharp.Net.CookieException:Signature"> <div id="T:WebSocketSharp.Net.CookieException:Signature">
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public class <b>CookieException</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.FormatException">FormatException</a></div> <div class="Signature">public class <b>CookieException</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.FormatException">FormatException</a></div>
@@ -243,8 +243,8 @@
</b>()</div> </b>()</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a> class.
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -265,8 +265,9 @@
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)</div> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)</div>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a> class
</td> with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> and <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>.
</td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -282,7 +283,9 @@
<td colspan="2"> <td colspan="2">
<b> <b>
<a href="#M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData</a> <a href="#M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData</a>
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>)<blockquote>
Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>.
</blockquote></td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -302,8 +305,8 @@
</a> </a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>.
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
@@ -346,8 +349,8 @@
<h3 id="C:WebSocketSharp.Net.CookieException">CookieException Constructor</h3> <h3 id="C:WebSocketSharp.Net.CookieException">CookieException Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.CookieException:member"> <blockquote id="C:WebSocketSharp.Net.CookieException:member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a> class.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <b>CookieException</b> ()</div> <div class="Signature">public <b>CookieException</b> ()</div>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@@ -362,25 +365,26 @@
<h3 id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">CookieException Constructor</h3> <h3 id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">CookieException Constructor</h3>
<blockquote id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member"> <blockquote id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Initializes a new instance of the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a> class
</p> with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> and <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a>.
</p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">protected <b>CookieException</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> info, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> context)</div> <div class="Signature">protected <b>CookieException</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters"> <blockquote class="SubsectionBox" id="C:WebSocketSharp.Net.CookieException(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters">
<dl> <dl>
<dt> <dt>
<i>info</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data.
</dd> </dd>
<dt> <dt>
<i>context</i> <i>streamingContext</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that contains the contextual information about the source or destination.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@@ -395,8 +399,8 @@
<h3 id="M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData Method</h3> <h3 id="M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member"> <blockquote id="M:WebSocketSharp.Net.CookieException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div> <div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
@@ -406,14 +410,14 @@
<i>serializationInfo</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data.
</dd> </dd>
<dt> <dt>
<i>streamingContext</i> <i>streamingContext</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that specifies the destination for the serialization.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
@@ -428,26 +432,26 @@
<h3 id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">System.Runtime.Serialization.ISerializable.GetObjectData Method</h3> <h3 id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">System.Runtime.Serialization.ISerializable.GetObjectData Method</h3>
<blockquote id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member"> <blockquote id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):member">
<p class="Summary"> <p class="Summary">
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Populates the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> with the data needed to serialize the <a href="../WebSocketSharp.Net/CookieException.html">WebSocketSharp.Net.CookieException</a>.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature"> <div class="Signature">
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>System.Runtime.Serialization.ISerializable.GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> info, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> context)</div> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>System.Runtime.Serialization.ISerializable.GetObjectData</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> serializationInfo, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> streamingContext)</div>
<h4 class="Subsection">Parameters</h4> <h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.CookieException.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):Parameters">
<dl> <dl>
<dt> <dt>
<i>info</i> <i>serializationInfo</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.SerializationInfo">System.Runtime.Serialization.SerializationInfo</a> that holds the serialized object data.
</dd> </dd>
<dt> <dt>
<i>context</i> <i>streamingContext</i>
</dt> </dt>
<dd> <dd>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Runtime.Serialization.StreamingContext">System.Runtime.Serialization.StreamingContext</a> that specifies the destination for the serialization.
</dd> </dd>
</dl> </dl>
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>

View File

@@ -207,7 +207,7 @@
</div> </div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.HttpListenerRequest">HttpListenerRequest Class</h1> <h1 class="PageTitle" id="T:WebSocketSharp.Net.HttpListenerRequest">HttpListenerRequest Class</h1>
<p class="Summary" id="T:WebSocketSharp.Net.HttpListenerRequest:Summary"> <p class="Summary" id="T:WebSocketSharp.Net.HttpListenerRequest:Summary">
Provides access to the HTTP request objects sent to a <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance. Provides access to a request to a <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance.
</p> </p>
<div id="T:WebSocketSharp.Net.HttpListenerRequest:Signature"> <div id="T:WebSocketSharp.Net.HttpListenerRequest:Signature">
<h2>Syntax</h2> <h2>Syntax</h2>
@@ -806,7 +806,7 @@
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Text.Encoding">System.Text.Encoding</a> <b>ContentEncoding</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Text.Encoding">System.Text.Encoding</a> <b>ContentEncoding</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentEncoding:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentEncoding:Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Text.Encoding">System.Text.Encoding</a> that contains the encoding that can be used with entity body data. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Text.Encoding">System.Text.Encoding</a> that contains the encoding that can be used with the entity body data.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentEncoding:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentEncoding:Remarks">
@@ -827,7 +827,7 @@
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64:Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> that contains the value of the Content-Length entity-header field. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int64">long</a> that contains the value of the Content-Length entity-header field.
<tt>-1</tt> if the size is not known. The value is a number of bytes in the entity body data. <tt>-1</tt> if the size is not known.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.Net.HttpListenerRequest.ContentLength64:Remarks">

View File

@@ -223,24 +223,24 @@
<a href="./Cookie.html">Cookie</a> <a href="./Cookie.html">Cookie</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a set of properties and methods to use to manage the HTTP Cookie.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
<a href="./CookieCollection.html">CookieCollection</a> <a href="./CookieCollection.html">CookieCollection</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a collection container for instances of the <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
<a href="./CookieException.html">CookieException</a> <a href="./CookieException.html">CookieException</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> The exception that is thrown when a <a href="../WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> gets an error.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -279,7 +279,7 @@
<a href="./HttpListenerRequest.html">HttpListenerRequest</a> <a href="./HttpListenerRequest.html">HttpListenerRequest</a>
</td> </td>
<td> <td>
Provides access to the HTTP request objects sent to a <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance. Provides access to a request to a <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@@ -287,8 +287,8 @@
<a href="./HttpListenerResponse.html">HttpListenerResponse</a> <a href="./HttpListenerResponse.html">HttpListenerResponse</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides access to a response to a request being processed by a <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>

View File

@@ -217,8 +217,8 @@
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Remarks"> <div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Remarks">
An HTTP request event occurs when a <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> instance receives an HTTP request. An HTTP request event occurs when a <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> instance receives an HTTP request.
If you want to get the HTTP request objects, you should access the <a href="javascript:alert(&quot;Documentation not found.&quot;)">ResponseEventArgs.Request</a> property. If you want to get the HTTP request objects, you should access the <a href="../WebSocketSharp.Server/HttpRequestEventArgs.html#P:WebSocketSharp.Server.HttpRequestEventArgs.Request">HttpRequestEventArgs.Request</a> property.
If you want to get the HTTP response objects to send, you should access the <a href="javascript:alert(&quot;Documentation not found.&quot;)">ResponseEventArgs.Response</a> property. If you want to get the HTTP response objects to send, you should access the <a href="../WebSocketSharp.Server/HttpRequestEventArgs.html#P:WebSocketSharp.Server.HttpRequestEventArgs.Response">HttpRequestEventArgs.Response</a> property.
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Version Information"> <div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Version Information">

View File

@@ -217,8 +217,8 @@
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="T:WebSocketSharp.CloseEventArgs:Docs:Remarks"> <div class="SectionBox" id="T:WebSocketSharp.CloseEventArgs:Docs:Remarks">
The <a href="../WebSocketSharp/WebSocket.html#E:WebSocketSharp.WebSocket.OnClose">WebSocket.OnClose</a> event occurs when the WebSocket receives a close control frame or The <a href="../WebSocketSharp/WebSocket.html#E:WebSocketSharp.WebSocket.OnClose">WebSocket.OnClose</a> event occurs when the WebSocket receives a close control frame or
the <tt>WebSocket.Close</tt> method is called. If you want to get the reason for closure, you should access the <a href="../WebSocketSharp/CloseEventArgs.html#P:WebSocketSharp.CloseEventArgs.Code">CloseEventArgs.Code</a> or the <tt>WebSocket.Close</tt> method is called. If you want to get the reason for closure, you should access
<a href="../WebSocketSharp/CloseEventArgs.html#P:WebSocketSharp.CloseEventArgs.Reason">CloseEventArgs.Reason</a> properties. the <a href="../WebSocketSharp/CloseEventArgs.html#P:WebSocketSharp.CloseEventArgs.Code">CloseEventArgs.Code</a> or <a href="../WebSocketSharp/CloseEventArgs.html#P:WebSocketSharp.CloseEventArgs.Reason">CloseEventArgs.Reason</a> properties.
</div> </div>
<h2 class="Section">Requirements</h2> <h2 class="Section">Requirements</h2>
<div class="SectionBox" id="T:WebSocketSharp.CloseEventArgs:Docs:Version Information"> <div class="SectionBox" id="T:WebSocketSharp.CloseEventArgs:Docs:Version Information">
@@ -299,7 +299,7 @@
<i> <i>
<a href="../WebSocketSharp/Opcode.html">Opcode</a> <a href="../WebSocketSharp/Opcode.html">Opcode</a>
</i>. </i>.
Gets the type of received data. Gets the type of the received data.
(<i>Inherited from <a href="../WebSocketSharp/MessageEventArgs.html">MessageEventArgs</a>.</i>)</td> (<i>Inherited from <a href="../WebSocketSharp/MessageEventArgs.html">MessageEventArgs</a>.</i>)</td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@@ -313,7 +313,7 @@
<i> <i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>. </i>.
Indicates whether the connection closed cleanly or not. Indicates whether the WebSocket connection closed cleanly.
</td> </td>
</tr> </tr>
</table> </table>
@@ -397,13 +397,13 @@
<h3 id="P:WebSocketSharp.CloseEventArgs.WasClean">WasClean Property</h3> <h3 id="P:WebSocketSharp.CloseEventArgs.WasClean">WasClean Property</h3>
<blockquote id="P:WebSocketSharp.CloseEventArgs.WasClean:member"> <blockquote id="P:WebSocketSharp.CloseEventArgs.WasClean:member">
<p class="Summary"> <p class="Summary">
Indicates whether the connection closed cleanly or not. Indicates whether the WebSocket connection closed cleanly.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>WasClean</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>WasClean</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.CloseEventArgs.WasClean:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.CloseEventArgs.WasClean:Value">
<tt>true</tt> if the connection closed cleanly; otherwise, <tt>false</tt>. <tt>true</tt> if the WebSocket connection closed cleanly; otherwise, <tt>false</tt>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.CloseEventArgs.WasClean:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.CloseEventArgs.WasClean:Remarks">

View File

@@ -251,6 +251,18 @@
<a href="#M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})">AcceptWebSocketAsync</a> <a href="#M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})">AcceptWebSocketAsync</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext&gt;</a>)<blockquote> </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action`1">Action&lt;WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext&gt;</a>)<blockquote>
Accepts a WebSocket connection asynchronously by the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>. Accepts a WebSocket connection asynchronously by the <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpListener">System.Net.Sockets.TcpListener</a>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Ext.Contains(System.String,System.Char[])">Contains</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <b>params</b> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>[])<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> contains any of characters
in the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@@ -384,6 +396,17 @@
<a href="#M:WebSocketSharp.Ext.IsEmpty(System.String)">IsEmpty</a> <a href="#M:WebSocketSharp.Ext.IsEmpty(System.String)">IsEmpty</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote> </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>. Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="#M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char)">IsEnclosedIn</a>
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is enclosed in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>.
</blockquote></td> </blockquote></td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@@ -848,6 +871,44 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
<h3 id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[])">Contains Method</h3>
<blockquote id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):member">
<p class="Summary">
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> contains any of characters
in the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>.
</p>
<h2>Syntax</h2>
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Contains</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> str, <b>params</b> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>[] chars)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):Parameters">
<dl>
<dt>
<i>str</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to test.
</dd>
<dt>
<i>chars</i>
</dt>
<dd>
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a> that contains characters to find.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):Returns">
<tt>true</tt> if <i>str</i> contains any of <i>chars</i>; otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.Contains(System.String,System.Char[]):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)">Emit Method</h3> <h3 id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs)">Emit Method</h3>
<blockquote id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs):member"> <blockquote id="M:WebSocketSharp.Ext.Emit(System.EventHandler,System.Object,System.EventArgs):member">
<p class="Summary"> <p class="Summary">
@@ -1302,7 +1363,7 @@
</blockquote> </blockquote>
<h4 class="Subsection">Returns</h4> <h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsEmpty(System.String):Returns"> <blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsEmpty(System.String):Returns">
<tt>true</tt> if the <i>value</i> parameter is a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>; otherwise, <tt>false</tt>. <tt>true</tt> if <i>value</i> is <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>; otherwise, <tt>false</tt>.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.IsEmpty(System.String):Remarks"> <div class="SectionBox" id="M:WebSocketSharp.Ext.IsEmpty(System.String):Remarks">
@@ -1313,6 +1374,43 @@
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div> <b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" /> <hr size="1" />
</blockquote> </blockquote>
<h3 id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char)">IsEnclosedIn Method</h3>
<blockquote id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char):member">
<p class="Summary">
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is enclosed in the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>.
</p>
<h2>Syntax</h2>
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsEnclosedIn</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> str, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a> c)</div>
<h4 class="Subsection">Parameters</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char):Parameters">
<dl>
<dt>
<i>str</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to test.
</dd>
<dt>
<i>c</i>
</dt>
<dd>
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a> that contains character to find.
</dd>
</dl>
</blockquote>
<h4 class="Subsection">Returns</h4>
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char):Returns">
<tt>true</tt> if <i>str</i> is enclosed in <i>c</i>; otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char):Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char):Version Information">
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder)">IsHostOrder Method</h3> <h3 id="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder)">IsHostOrder Method</h3>
<blockquote id="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder):member"> <blockquote id="M:WebSocketSharp.Ext.IsHostOrder(WebSocketSharp.ByteOrder):member">
<p class="Summary"> <p class="Summary">

View File

@@ -271,7 +271,7 @@
<i> <i>
<a href="../WebSocketSharp/Opcode.html">Opcode</a> <a href="../WebSocketSharp/Opcode.html">Opcode</a>
</i>. </i>.
Gets the type of received data. Gets the type of the received data.
</td> </td>
</tr> </tr>
</table> </table>
@@ -321,7 +321,7 @@
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Data</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>Data</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.Data:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.Data:Value">
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a received data. A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the received data.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.Data:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.Data:Remarks">
@@ -341,7 +341,7 @@
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>RawData</b> { get; }</div> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>RawData</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.RawData:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.RawData:Value">
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> that contains a received data. An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> that contains the received data.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.RawData:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.RawData:Remarks">
@@ -355,13 +355,13 @@
<h3 id="P:WebSocketSharp.MessageEventArgs.Type">Type Property</h3> <h3 id="P:WebSocketSharp.MessageEventArgs.Type">Type Property</h3>
<blockquote id="P:WebSocketSharp.MessageEventArgs.Type:member"> <blockquote id="P:WebSocketSharp.MessageEventArgs.Type:member">
<p class="Summary"> <p class="Summary">
Gets the type of received data. Gets the type of the received data.
</p> </p>
<h2>Syntax</h2> <h2>Syntax</h2>
<div class="Signature">public <a href="../WebSocketSharp/Opcode.html">Opcode</a> <b>Type</b> { get; }</div> <div class="Signature">public <a href="../WebSocketSharp/Opcode.html">Opcode</a> <b>Type</b> { get; }</div>
<h4 class="Subsection">Value</h4> <h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.Type:Value"> <blockquote class="SubsectionBox" id="P:WebSocketSharp.MessageEventArgs.Type:Value">
One of the <a href="javascript:alert(&quot;Documentation not found.&quot;)">Frame.Opcode</a> that indicates the type of received data. One of the <a href="../WebSocketSharp/Opcode.html">WebSocketSharp.Opcode</a> values that indicates the type of the received data.
</blockquote> </blockquote>
<h2 class="Section">Remarks</h2> <h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.Type:Remarks"> <div class="SectionBox" id="P:WebSocketSharp.MessageEventArgs.Type:Remarks">

View File

@@ -315,24 +315,24 @@
<a href="WebSocketSharp.Net/Cookie.html">Cookie</a> <a href="WebSocketSharp.Net/Cookie.html">Cookie</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a set of properties and methods to use to manage the HTTP Cookie.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
<a href="WebSocketSharp.Net/CookieCollection.html">CookieCollection</a> <a href="WebSocketSharp.Net/CookieCollection.html">CookieCollection</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides a collection container for instances of the <a href="./WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> class.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
<a href="WebSocketSharp.Net/CookieException.html">CookieException</a> <a href="WebSocketSharp.Net/CookieException.html">CookieException</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> The exception that is thrown when a <a href="./WebSocketSharp.Net/Cookie.html">WebSocketSharp.Net.Cookie</a> gets an error.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>
@@ -371,7 +371,7 @@
<a href="WebSocketSharp.Net/HttpListenerRequest.html">HttpListenerRequest</a> <a href="WebSocketSharp.Net/HttpListenerRequest.html">HttpListenerRequest</a>
</td> </td>
<td> <td>
Provides access to the HTTP request objects sent to a <a href="./WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance. Provides access to a request to a <a href="./WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
@@ -379,8 +379,8 @@
<a href="WebSocketSharp.Net/HttpListenerResponse.html">HttpListenerResponse</a> <a href="WebSocketSharp.Net/HttpListenerResponse.html">HttpListenerResponse</a>
</td> </td>
<td> <td>
<span class="NotEntered">Documentation for this section has not yet been entered.</span> Provides access to a response to a request being processed by a <a href="./WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> instance.
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td> <td>

View File

@@ -9,8 +9,12 @@
</Base> </Base>
<Interfaces /> <Interfaces />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<remarks>To be added.</remarks> Provides a set of properties and methods to use to manage the HTTP Cookie.
</summary>
<remarks>
The Cookie class cannot be inherited.
</remarks>
</Docs> </Docs>
<Members> <Members>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@@ -19,7 +23,9 @@
<MemberType>Constructor</MemberType> <MemberType>Constructor</MemberType>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -32,10 +38,41 @@
<Parameter Name="value" Type="System.String" /> <Parameter Name="value" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<param name="value">To be added.</param> A <see cref="T:System.String" /> that contains the Name of the cookie.
<summary>To be added.</summary> </param>
<param name="value">
A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" /> and <paramref name="value" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@@ -48,11 +85,44 @@
<Parameter Name="path" Type="System.String" /> <Parameter Name="path" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<param name="value">To be added.</param> A <see cref="T:System.String" /> that contains the Name of the cookie.
<param name="path">To be added.</param> </param>
<summary>To be added.</summary> <param name="value">
A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<param name="path">
A <see cref="T:System.String" /> that contains the value of the Path attribute of the cookie.
</param>
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" />, <paramref name="value" /> and <paramref name="path" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@@ -66,12 +136,48 @@
<Parameter Name="domain" Type="System.String" /> <Parameter Name="domain" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<param name="value">To be added.</param> A <see cref="T:System.String" /> that contains the Name of the cookie.
<param name="path">To be added.</param> </param>
<param name="domain">To be added.</param> <param name="value">
<summary>To be added.</summary> A <see cref="T:System.String" /> that contains the Value of the cookie.
</param>
<param name="path">
A <see cref="T:System.String" /> that contains the value of the Path attribute of the cookie.
</param>
<param name="domain">
A <see cref="T:System.String" /> that contains the value of the Domain attribute of the cookie.
</param>
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.Cookie" /> class
with the specified <paramref name="name" />, <paramref name="value" />,
<paramref name="path" /> and <paramref name="domain" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="name" /> contains an invalid character.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> is <see langword="null" />.
</para>
<para>
- or -
</para>
<para>
<paramref name="value" /> contains a string not enclosed in double quotes
that contains an invalid character.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Comment"> <Member MemberName="Comment">
@@ -82,8 +188,12 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Comment attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a comment to document intended use of the cookie.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -95,8 +205,13 @@
<ReturnType>System.Uri</ReturnType> <ReturnType>System.Uri</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the CommentURL attribute of the cookie.
</summary>
<value>
A <see cref="T:System.Uri" /> that contains a URI that provides the comment
to document intended use of the cookie.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -108,8 +223,14 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating whether the client discards the cookie unconditionally
when the client terminates.
</summary>
<value>
<c>true</c> if the client discards the cookie unconditionally when the client terminates;
otherwise, <c>false</c>. The default is <c>false</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -121,25 +242,36 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Domain attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a URI for which the cookie is valid.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Equals"> <Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" /> <MemberSignature Language="C#" Value="public override bool Equals (object comparand);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object comparand) cil managed" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="obj" Type="System.Object" /> <Parameter Name="comparand" Type="System.Object" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="obj">To be added.</param> <param name="comparand">
<summary>To be added.</summary> An <see cref="T:System.Object" /> to compare with the current <see cref="T:WebSocketSharp.Net.Cookie" />.
<returns>To be added.</returns> </param>
<summary>
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</summary>
<returns>
<c>true</c> if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:WebSocketSharp.Net.Cookie" />;
otherwise, <c>false</c>.
</returns>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -151,8 +283,12 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating whether the cookie has expired.
</summary>
<value>
<c>true</c> if the cookie has expired; otherwise, <c>false</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -164,8 +300,12 @@
<ReturnType>System.DateTime</ReturnType> <ReturnType>System.DateTime</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Expires attribute of the cookie.
</summary>
<value>
A <see cref="T:System.DateTime" /> that contains the date and time at which the cookie expires.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -178,8 +318,12 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<returns>To be added.</returns> Serves as a hash function for a <see cref="T:WebSocketSharp.Net.Cookie" /> object.
</summary>
<returns>
An <see cref="T:System.Int32" /> that contains a hash code for this instance.
</returns>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -191,8 +335,12 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating non-HTTP APIs can access the cookie.
</summary>
<value>
<c>true</c> if non-HTTP APIs can not access the cookie; otherwise, <c>false</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -204,9 +352,24 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the Name of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains the Name of the cookie.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
<para>
The value specified for a set operation is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</para>
<para>
- or -
</para>
<para>
The value specified for a set operation contains an invalid character.
</para>
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Path"> <Member MemberName="Path">
@@ -217,8 +380,13 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Path attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a subset of URI on the origin server
to which the cookie applies.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -230,9 +398,16 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Port attribute of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains a list of the TCP ports to which the cookie applies.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:WebSocketSharp.Net.CookieException">
The value specified for a set operation could not be parsed or is not enclosed in double quotes.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Secure"> <Member MemberName="Secure">
@@ -243,9 +418,17 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating whether the security level of the cookie is secure.
<remarks>To be added.</remarks> </summary>
<value>
<c>true</c> if the security level of the cookie is secure; otherwise, <c>false</c>.
The default is <c>false</c>.
</value>
<remarks>
When this property is <c>true</c>, the cookie may be included in the HTTP request
only if the request is transmitted over the HTTPS.
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="TimeStamp"> <Member MemberName="TimeStamp">
@@ -256,8 +439,12 @@
<ReturnType>System.DateTime</ReturnType> <ReturnType>System.DateTime</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets the time when the cookie was issued.
</summary>
<value>
A <see cref="T:System.DateTime" /> that contains the time when the cookie was issued.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -270,9 +457,15 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<returns>To be added.</returns> Returns a <see cref="T:System.String" /> that represents the current <see cref="T:WebSocketSharp.Net.Cookie" />.
<remarks>To be added.</remarks> </summary>
<returns>
A <see cref="T:System.String" /> that represents the current <see cref="T:WebSocketSharp.Net.Cookie" />.
</returns>
<remarks>
This method returns a <see cref="T:System.String" /> to use to send an HTTP Cookie to an origin server.
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Value"> <Member MemberName="Value">
@@ -283,8 +476,12 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the Value of the cookie.
</summary>
<value>
A <see cref="T:System.String" /> that contains the Value of the cookie.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -296,9 +493,17 @@
<ReturnType>System.Int32</ReturnType> <ReturnType>System.Int32</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the value of the Version attribute of the cookie.
</summary>
<value>
An <see cref="T:System.Int32" /> that contains the version of the HTTP state management
to which the cookie conforms.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
The value specified for a set operation is less than zero.
</exception>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View File

@@ -13,7 +13,9 @@
</Interface> </Interface>
</Interfaces> </Interfaces>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Provides a collection container for instances of the <see cref="T:WebSocketSharp.Net.Cookie" /> class.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
<Members> <Members>
@@ -23,7 +25,9 @@
<MemberType>Constructor</MemberType> <MemberType>Constructor</MemberType>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> class.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -38,9 +42,16 @@
<Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" /> <Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="cookie">To be added.</param> <param name="cookie">
<summary>To be added.</summary> A <see cref="T:WebSocketSharp.Net.Cookie" /> to add to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<summary>
Add the specified <see cref="T:WebSocketSharp.Net.Cookie" /> to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Add"> <Member MemberName="Add">
@@ -54,9 +65,16 @@
<Parameter Name="cookies" Type="WebSocketSharp.Net.CookieCollection" /> <Parameter Name="cookies" Type="WebSocketSharp.Net.CookieCollection" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="cookies">To be added.</param> <param name="cookies">
<summary>To be added.</summary> A <see cref="T:WebSocketSharp.Net.CookieCollection" /> to add to the current <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</param>
<summary>
Add the elements of the specified <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the current <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookies" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="CopyTo"> <Member MemberName="CopyTo">
@@ -71,10 +89,23 @@
<Parameter Name="index" Type="System.Int32" /> <Parameter Name="index" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="array">To be added.</param> <param name="array">
<param name="index">To be added.</param> An <see cref="T:System.Array" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
<summary>To be added.</summary> </param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
</param>
<summary>
Copies the elements of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the specified <see cref="T:System.Array" />,
starting at the specified <paramref name="index" /> in the <paramref name="array" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="CopyTo"> <Member MemberName="CopyTo">
@@ -89,10 +120,23 @@
<Parameter Name="index" Type="System.Int32" /> <Parameter Name="index" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="array">To be added.</param> <param name="array">
<param name="index">To be added.</param> An array of <see cref="T:WebSocketSharp.Net.Cookie" /> that is the destination of the elements copied from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
<summary>To be added.</summary> </param>
<param name="index">
An <see cref="T:System.Int32" /> that indicates the zero-based index in <paramref name="array" /> at which copying begins.
</param>
<summary>
Copies the elements of the <see cref="T:WebSocketSharp.Net.CookieCollection" /> to the specified array of <see cref="T:WebSocketSharp.Net.Cookie" />,
starting at the specified <paramref name="index" /> in the <paramref name="array" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Count"> <Member MemberName="Count">
@@ -103,8 +147,12 @@
<ReturnType>System.Int32</ReturnType> <ReturnType>System.Int32</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets the number of cookies contained in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
An <see cref="T:System.Int32" /> that indicates the number of cookies contained in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -117,8 +165,13 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<returns>To be added.</returns> Gets the enumerator to use to iterate through the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<returns>
An instance of an implementation of the <see cref="T:System.Collections.IEnumerator" /> interface
to use to iterate through the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</returns>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -130,8 +183,13 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets a value indicating whether the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is read-only.
</summary>
<value>
<c>true</c> if the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is read-only; otherwise, <c>false</c>.
The default is <c>true</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -143,8 +201,13 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets a value indicating whether access to the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is thread safe.
</summary>
<value>
<c>true</c> if access to the <see cref="T:WebSocketSharp.Net.CookieCollection" /> is thread safe; otherwise, <c>false</c>.
The default is <c>false</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -159,10 +222,20 @@
<Parameter Name="index" Type="System.Int32" /> <Parameter Name="index" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="index">To be added.</param> <param name="index">
<summary>To be added.</summary> An <see cref="T:System.Int32" /> that is the zero-based index of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
<value>To be added.</value> </param>
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="index" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="index" /> in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is less than zero or <paramref name="index" /> is greater than or
equal to <see cref="P:WebSocketSharp.Net.CookieCollection.Count" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Item"> <Member MemberName="Item">
@@ -176,10 +249,19 @@
<Parameter Name="name" Type="System.String" /> <Parameter Name="name" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<summary>To be added.</summary> A <see cref="T:System.String" /> that is the name of the <see cref="T:WebSocketSharp.Net.Cookie" /> to find.
<value>To be added.</value> </param>
<summary>
Gets the <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="name" /> from the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.Cookie" /> with the specified <paramref name="name" /> in the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="SyncRoot"> <Member MemberName="SyncRoot">
@@ -190,8 +272,12 @@
<ReturnType>System.Object</ReturnType> <ReturnType>System.Object</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets an object to use to synchronize access to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</summary>
<value>
An <see cref="T:System.Object" /> to use to synchronize access to the <see cref="T:WebSocketSharp.Net.CookieCollection" />.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>

View File

@@ -9,7 +9,9 @@
</Base> </Base>
<Interfaces /> <Interfaces />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
The exception that is thrown when a <see cref="T:WebSocketSharp.Net.Cookie" /> gets an error.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
<Members> <Members>
@@ -19,22 +21,31 @@
<MemberType>Constructor</MemberType> <MemberType>Constructor</MemberType>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieException" /> class.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected CookieException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" /> <MemberSignature Language="C#" Value="protected CookieException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" /> <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo serializationInfo, valuetype System.Runtime.Serialization.StreamingContext streamingContext) cil managed" />
<MemberType>Constructor</MemberType> <MemberType>Constructor</MemberType>
<Parameters> <Parameters>
<Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" /> <Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" /> <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="info">To be added.</param> <param name="serializationInfo">
<param name="context">To be added.</param> A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
<summary>To be added.</summary> </param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the contextual information about the source or destination.
</param>
<summary>
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.CookieException" /> class
with the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -50,27 +61,39 @@
<Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" /> <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="serializationInfo">To be added.</param> <param name="serializationInfo">
<param name="streamingContext">To be added.</param> A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
<summary>To be added.</summary> </param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
<summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.CookieException" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData"> <Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
<MemberSignature Language="C#" Value="void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" /> <MemberSignature Language="C#" Value="void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Runtime.Serialization.ISerializable.GetObjectData(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" /> <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Runtime.Serialization.ISerializable.GetObjectData(class System.Runtime.Serialization.SerializationInfo serializationInfo, valuetype System.Runtime.Serialization.StreamingContext streamingContext) cil managed" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" /> <Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" /> <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="info">To be added.</param> <param name="serializationInfo">
<param name="context">To be added.</param> A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data.
<summary>To be added.</summary> </param>
<param name="streamingContext">
A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for the serialization.
</param>
<summary>
Populates the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the <see cref="T:WebSocketSharp.Net.CookieException" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>

View File

@@ -10,7 +10,7 @@
<Interfaces /> <Interfaces />
<Docs> <Docs>
<summary> <summary>
Provides access to the HTTP request objects sent to a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance. Provides access to a request to a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance.
</summary> </summary>
<remarks> <remarks>
The HttpListenerRequest class cannot be inherited. The HttpListenerRequest class cannot be inherited.
@@ -98,7 +98,7 @@
Gets the encoding that can be used with the entity body data included in the request. Gets the encoding that can be used with the entity body data included in the request.
</summary> </summary>
<value> <value>
A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with entity body data. A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with the entity body data.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@@ -116,7 +116,7 @@
</summary> </summary>
<value> <value>
A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field. A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field.
<c>-1</c> if the size is not known. The value is a number of bytes in the entity body data. <c>-1</c> if the size is not known.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>

View File

@@ -13,8 +13,12 @@
</Interface> </Interface>
</Interfaces> </Interfaces>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<remarks>To be added.</remarks> Provides access to a response to a request being processed by a <see cref="T:WebSocketSharp.Net.HttpListener" /> instance.
</summary>
<remarks>
The HttpListenerResponse class cannot be inherited.
</remarks>
</Docs> </Docs>
<Members> <Members>
<Member MemberName="Abort"> <Member MemberName="Abort">
@@ -26,7 +30,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Closes the connection to the client without sending a response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -42,10 +48,23 @@
<Parameter Name="value" Type="System.String" /> <Parameter Name="value" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<param name="value">To be added.</param> A <see cref="T:System.String" /> that contains the name of the HTTP header to add.
<summary>To be added.</summary> </param>
<param name="value">
A <see cref="T:System.String" /> that contains the value of the HTTP header to add.
</param>
<summary>
Adds the specified HTTP header <paramref name="name" /> and <paramref name="value" /> to
the headers for this response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65,535 characters.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="AppendCookie"> <Member MemberName="AppendCookie">
@@ -59,9 +78,16 @@
<Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" /> <Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="cookie">To be added.</param> <param name="cookie">
<summary>To be added.</summary> A <see cref="T:WebSocketSharp.Net.Cookie" /> to add to the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" />.
</param>
<summary>
Adds the specified <see cref="T:WebSocketSharp.Net.Cookie" /> to the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> sent with the response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="AppendHeader"> <Member MemberName="AppendHeader">
@@ -76,10 +102,22 @@
<Parameter Name="value" Type="System.String" /> <Parameter Name="value" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="name">To be added.</param> <param name="name">
<param name="value">To be added.</param> A <see cref="T:System.String" /> that contains the name of the HTTP header to append <paramref name="value" /> to.
<summary>To be added.</summary> </param>
<param name="value">
A <see cref="T:System.String" /> that contains the value to append to the HTTP header.
</param>
<summary>
Appends a <paramref name="value" /> to the specified HTTP header sent with the response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The length of <paramref name="value" /> is greater than 65,535 characters.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Close"> <Member MemberName="Close">
@@ -91,7 +129,10 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Sends the response to the client and releases the resources associated with
the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> instance.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -107,10 +148,23 @@
<Parameter Name="willBlock" Type="System.Boolean" /> <Parameter Name="willBlock" Type="System.Boolean" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="responseEntity">To be added.</param> <param name="responseEntity">
<param name="willBlock">To be added.</param> An array of <see cref="T:System.Byte" /> that contains the response entity body data.
<summary>To be added.</summary> </param>
<param name="willBlock">
<c>true</c> if this method blocks execution while flushing the stream to the client; otherwise, <c>false</c>.
</param>
<summary>
Sends the response with the specified array of <see cref="T:System.Byte" /> to the client and
releases the resources associated with the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> instance.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="responseEntity" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ContentEncoding"> <Member MemberName="ContentEncoding">
@@ -121,9 +175,19 @@
<ReturnType>System.Text.Encoding</ReturnType> <ReturnType>System.Text.Encoding</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the encoding that can be used with the entity body data included in the response.
</summary>
<value>
A <see cref="T:System.Text.Encoding" /> that contains the encoding that can be used with the entity body data.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ContentLength64"> <Member MemberName="ContentLength64">
@@ -134,9 +198,23 @@
<ReturnType>System.Int64</ReturnType> <ReturnType>System.Int64</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the size of the entity body data included in the response.
</summary>
<value>
A <see cref="T:System.Int64" /> that contains the value of the Content-Length entity-header field.
The value is a number of bytes in the entity body data.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
The value specified for a set operation is less than zero.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ContentType"> <Member MemberName="ContentType">
@@ -147,9 +225,26 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the media type of the entity body included in the response.
</summary>
<value>
The type of the content.
A <see cref="T:System.String" /> that contains the value of the Content-Type entity-header field.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentNullException">
The value specified for a set operation is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation is a <see cref="F:System.String.Empty" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Cookies"> <Member MemberName="Cookies">
@@ -160,8 +255,12 @@
<ReturnType>WebSocketSharp.Net.CookieCollection</ReturnType> <ReturnType>WebSocketSharp.Net.CookieCollection</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the cookies returned with the response.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.CookieCollection" /> that contains the cookies returned with the response.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -176,8 +275,12 @@
<Parameter Name="templateResponse" Type="WebSocketSharp.Net.HttpListenerResponse" /> <Parameter Name="templateResponse" Type="WebSocketSharp.Net.HttpListenerResponse" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="templateResponse">To be added.</param> <param name="templateResponse">
<summary>To be added.</summary> A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> to copy.
</param>
<summary>
Copies properties from the specified <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> to this response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -189,8 +292,12 @@
<ReturnType>WebSocketSharp.Net.WebHeaderCollection</ReturnType> <ReturnType>WebSocketSharp.Net.WebHeaderCollection</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the HTTP headers returned to the client.
</summary>
<value>
A <see cref="T:WebSocketSharp.Net.WebHeaderCollection" /> that contains the HTTP headers returned to the client.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -202,9 +309,20 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating whether the server requests a persistent connection.
</summary>
<value>
<c>true</c> if the server requests a persistent connection; otherwise, <c>false</c>.
The default is <c>true</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="OutputStream"> <Member MemberName="OutputStream">
@@ -215,9 +333,16 @@
<ReturnType>System.IO.Stream</ReturnType> <ReturnType>System.IO.Stream</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets a <see cref="T:System.IO.Stream" /> to use to write the entity body data.
</summary>
<value>
A <see cref="T:System.IO.Stream" /> to use to write the entity body data.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ProtocolVersion"> <Member MemberName="ProtocolVersion">
@@ -228,9 +353,26 @@
<ReturnType>System.Version</ReturnType> <ReturnType>System.Version</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the HTTP version used in the response.
</summary>
<value>
A <see cref="T:System.Version" /> that contains the HTTP version used in the response.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentNullException">
The value specified for a set operation is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation does not have its <see cref="P:System.Version.Major">Major</see> property set to 1 or
does not have its <see cref="P:System.Version.Minor">Minor</see> property set to either 0 or 1.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Redirect"> <Member MemberName="Redirect">
@@ -244,8 +386,12 @@
<Parameter Name="url" Type="System.String" /> <Parameter Name="url" Type="System.String" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="url">To be added.</param> <param name="url">
<summary>To be added.</summary> A <see cref="T:System.String" /> that contains a URL to redirect the client's request to.
</param>
<summary>
Configures the response to redirect the client's request to the specified <paramref name="url" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -257,9 +403,22 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the URL to which the client is redirected to locate a requested resource.
</summary>
<value>
A <see cref="T:System.String" /> that contains the value of the Location response-header field.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.ArgumentException">
The value specified for a set operation is a <see cref="F:System.String.Empty" />.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="SendChunked"> <Member MemberName="SendChunked">
@@ -270,9 +429,19 @@
<ReturnType>System.Boolean</ReturnType> <ReturnType>System.Boolean</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a value indicating whether the response uses the chunked transfer encoding.
</summary>
<value>
<c>true</c> if the response uses the chunked transfer encoding; otherwise, <c>false</c>.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="SetCookie"> <Member MemberName="SetCookie">
@@ -286,9 +455,20 @@
<Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" /> <Parameter Name="cookie" Type="WebSocketSharp.Net.Cookie" />
</Parameters> </Parameters>
<Docs> <Docs>
<param name="cookie">To be added.</param> <param name="cookie">
<summary>To be added.</summary> A <see cref="T:WebSocketSharp.Net.Cookie" /> to set.
</param>
<summary>
Adds or updates a <see cref="T:WebSocketSharp.Net.Cookie" /> in the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> sent with the response.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="cookie" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="cookie" /> already exists in the <see cref="P:WebSocketSharp.Net.HttpListenerResponse.Cookies" /> and
could not be replaced.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="StatusCode"> <Member MemberName="StatusCode">
@@ -299,9 +479,23 @@
<ReturnType>System.Int32</ReturnType> <ReturnType>System.Int32</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets the HTTP status code returned to the client.
</summary>
<value>
An <see cref="T:System.Int32" /> that indicates the HTTP status code for the response to the request.
The default is <see cref="F:WebSocketSharp.Net.HttpStatusCode.OK" />.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
This object is closed.
</exception>
<exception cref="T:System.InvalidOperationException">
The response has been sent already.
</exception>
<exception cref="T:System.Net.ProtocolViolationException">
The value specified for a set operation is invalid. Valid values are between 100 and 999.
</exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="StatusDescription"> <Member MemberName="StatusDescription">
@@ -312,8 +506,12 @@
<ReturnType>System.String</ReturnType> <ReturnType>System.String</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added.</summary> <summary>
<value>To be added.</value> Gets or sets a description of the HTTP status code returned to the client.
</summary>
<value>
A <see cref="T:System.String" /> that contains a description of the HTTP status code returned to the client.
</value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>
@@ -326,7 +524,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added.</summary> <summary>
Releases all resource used by the <see cref="T:WebSocketSharp.Net.HttpListenerResponse" />.
</summary>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
</Member> </Member>

View File

@@ -14,8 +14,8 @@
</summary> </summary>
<remarks> <remarks>
An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request. An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
If you want to get the HTTP request objects, you should access the <see cref="!:ResponseEventArgs.Request" /> property. If you want to get the HTTP request objects, you should access the <see cref="P:WebSocketSharp.Server.HttpRequestEventArgs.Request" /> property.
If you want to get the HTTP response objects to send, you should access the <see cref="!:ResponseEventArgs.Response" /> property. If you want to get the HTTP response objects to send, you should access the <see cref="P:WebSocketSharp.Server.HttpRequestEventArgs.Response" /> property.
</remarks> </remarks>
</Docs> </Docs>
<Members> <Members>

View File

@@ -14,8 +14,8 @@
</summary> </summary>
<remarks> <remarks>
The <see cref="E:WebSocketSharp.WebSocket.OnClose" /> event occurs when the WebSocket receives a close control frame or The <see cref="E:WebSocketSharp.WebSocket.OnClose" /> event occurs when the WebSocket receives a close control frame or
the <c>WebSocket.Close</c> method is called. If you want to get the reason for closure, you should access the <see cref="P:WebSocketSharp.CloseEventArgs.Code" /> or the <c>WebSocket.Close</c> method is called. If you want to get the reason for closure, you should access
<see cref="P:WebSocketSharp.CloseEventArgs.Reason" /> properties. the <see cref="P:WebSocketSharp.CloseEventArgs.Code" /> or <see cref="P:WebSocketSharp.CloseEventArgs.Reason" /> properties.
</remarks> </remarks>
</Docs> </Docs>
<Members> <Members>
@@ -62,10 +62,10 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary> <summary>
Indicates whether the connection closed cleanly or not. Indicates whether the WebSocket connection closed cleanly.
</summary> </summary>
<value> <value>
<c>true</c> if the connection closed cleanly; otherwise, <c>false</c>. <c>true</c> if the WebSocket connection closed cleanly; otherwise, <c>false</c>.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>

View File

@@ -76,6 +76,40 @@
</exception> </exception>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public static bool Contains (this string str, char[] chars);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(string str, char[] chars) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="str" Type="System.String" RefType="this" />
<Parameter Name="chars" Type="System.Char[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="chars">
An array of <see cref="T:System.Char" /> that contains characters to find.
</param>
<summary>
Determines whether the specified <see cref="T:System.String" /> contains any of characters
in the specified array of <see cref="T:System.Char" />.
</summary>
<returns>
<c>true</c> if <paramref name="str" /> contains any of <paramref name="chars" />; otherwise, <c>false</c>.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Emit"> <Member MemberName="Emit">
<MemberSignature Language="C#" Value="public static void Emit (this EventHandler eventHandler, object sender, EventArgs e);" /> <MemberSignature Language="C#" Value="public static void Emit (this EventHandler eventHandler, object sender, EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Emit(class System.EventHandler eventHandler, object sender, class System.EventArgs e) cil managed" /> <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Emit(class System.EventHandler eventHandler, object sender, class System.EventArgs e) cil managed" />
@@ -403,7 +437,34 @@
Determines whether the specified <see cref="T:System.String" /> is a <see cref="F:System.String.Empty" />. Determines whether the specified <see cref="T:System.String" /> is a <see cref="F:System.String.Empty" />.
</summary> </summary>
<returns> <returns>
<c>true</c> if the <paramref name="value" /> parameter is a <see cref="F:System.String.Empty" />; otherwise, <c>false</c>. <c>true</c> if <paramref name="value" /> is <see cref="F:System.String.Empty" />; otherwise, <c>false</c>.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsEnclosedIn">
<MemberSignature Language="C#" Value="public static bool IsEnclosedIn (this string str, char c);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEnclosedIn(string str, char c) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="str" Type="System.String" RefType="this" />
<Parameter Name="c" Type="System.Char" />
</Parameters>
<Docs>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="c">
A <see cref="T:System.Char" /> that contains character to find.
</param>
<summary>
Determines whether the specified <see cref="T:System.String" /> is enclosed in the specified <see cref="T:System.Char" />.
</summary>
<returns>
<c>true</c> if <paramref name="str" /> is enclosed in <paramref name="c" />; otherwise, <c>false</c>.
</returns> </returns>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>

View File

@@ -31,7 +31,7 @@
Gets the received data as a <see cref="T:System.String" />. Gets the received data as a <see cref="T:System.String" />.
</summary> </summary>
<value> <value>
A <see cref="T:System.String" /> that contains a received data. A <see cref="T:System.String" /> that contains the received data.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@@ -48,7 +48,7 @@
Gets the received data as an array of <see cref="T:System.Byte" />. Gets the received data as an array of <see cref="T:System.Byte" />.
</summary> </summary>
<value> <value>
An array of <see cref="T:System.Byte" /> that contains a received data. An array of <see cref="T:System.Byte" /> that contains the received data.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>
@@ -62,10 +62,10 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary> <summary>
Gets the type of received data. Gets the type of the received data.
</summary> </summary>
<value> <value>
One of the <see cref="!:WebSocketSharp.Frame.Opcode" /> that indicates the type of received data. One of the <see cref="T:WebSocketSharp.Opcode" /> values that indicates the type of the received data.
</value> </value>
<remarks>To be added.</remarks> <remarks>To be added.</remarks>
</Docs> </Docs>

View File

@@ -1,6 +1,6 @@
<Overview> <Overview>
<Assemblies> <Assemblies>
<Assembly Name="websocket-sharp" Version="1.0.2.29673"> <Assembly Name="websocket-sharp" Version="1.0.2.29585">
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey> <AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey>
<Attributes> <Attributes>
<Attribute> <Attribute>
@@ -141,6 +141,42 @@
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})" /> <Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.AcceptWebSocketAsync(System.Net.Sockets.TcpListener,System.Boolean,System.Action{WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext})" />
</Member> </Member>
</ExtensionMethod> </ExtensionMethod>
<ExtensionMethod>
<Targets>
<Target Type="T:System.String" />
</Targets>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public static bool Contains (this string str, char[] chars);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Contains(string str, char[] chars) cil managed" />
<MemberType>ExtensionMethod</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="str" Type="System.String" RefType="this" />
<Parameter Name="chars" Type="System.Char[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="chars">
An array of <see cref="T:System.Char" /> that contains characters to find.
</param>
<summary>
Determines whether the specified <see cref="T:System.String" /> contains any of characters
in the specified array of <see cref="T:System.Char" />.
</summary>
</Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.Contains(System.String,System.Char[])" />
</Member>
</ExtensionMethod>
<ExtensionMethod> <ExtensionMethod>
<Targets> <Targets>
<Target Type="T:System.EventHandler" /> <Target Type="T:System.EventHandler" />
@@ -500,6 +536,35 @@
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.IsEmpty(System.String)" /> <Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.IsEmpty(System.String)" />
</Member> </Member>
</ExtensionMethod> </ExtensionMethod>
<ExtensionMethod>
<Targets>
<Target Type="T:System.String" />
</Targets>
<Member MemberName="IsEnclosedIn">
<MemberSignature Language="C#" Value="public static bool IsEnclosedIn (this string str, char c);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEnclosedIn(string str, char c) cil managed" />
<MemberType>ExtensionMethod</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="str" Type="System.String" RefType="this" />
<Parameter Name="c" Type="System.Char" />
</Parameters>
<Docs>
<param name="str">
A <see cref="T:System.String" /> to test.
</param>
<param name="c">
A <see cref="T:System.Char" /> that contains character to find.
</param>
<summary>
Determines whether the specified <see cref="T:System.String" /> is enclosed in the specified <see cref="T:System.Char" />.
</summary>
</Docs>
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.IsEnclosedIn(System.String,System.Char)" />
</Member>
</ExtensionMethod>
<ExtensionMethod> <ExtensionMethod>
<Targets> <Targets>
<Target Type="T:WebSocketSharp.ByteOrder" /> <Target Type="T:WebSocketSharp.ByteOrder" />

Binary file not shown.