[Modify] Edit it

This commit is contained in:
sta 2017-10-14 14:54:00 +09:00
parent fd2398316b
commit bbc70c5314

View File

@ -525,22 +525,48 @@ namespace WebSocketSharp
/// <summary> /// <summary>
/// Gets or sets the value of the HTTP Origin header to send with /// Gets or sets the value of the HTTP Origin header to send with
/// the WebSocket handshake request to the server. /// the handshake request.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The <see cref="WebSocket"/> sends the Origin header if this property has any. /// <para>
/// The HTTP Origin header is defined in
/// <see href="http://tools.ietf.org/html/rfc6454#section-7">
/// Section 7 of RFC 6454</see>.
/// </para>
/// <para>
/// This instance sends the Origin header if this property has any.
/// </para>
/// <para>
/// The set operation does nothing if the connection has already been
/// established or it is closing.
/// </para>
/// </remarks> /// </remarks>
/// <value> /// <value>
/// <para> /// <para>
/// A <see cref="string"/> that represents the value of /// A <see cref="string"/> that represents the value of the Origin
/// the <see href="http://tools.ietf.org/html/rfc6454#section-7">Origin</see> header to send. /// header to send.
/// The default value is <see langword="null"/>.
/// </para> /// </para>
/// <para> /// <para>
/// The Origin header has the following syntax: /// The syntax is &lt;scheme&gt;://&lt;host&gt;[:&lt;port&gt;].
/// <c>&lt;scheme&gt;://&lt;host&gt;[:&lt;port&gt;]</c> /// </para>
/// <para>
/// The default value is <see langword="null"/>.
/// </para> /// </para>
/// </value> /// </value>
/// <exception cref="InvalidOperationException">
/// The set operation is not available if this instance is not a client.
/// </exception>
/// <exception cref="ArgumentException">
/// <para>
/// The value specified for a set operation is not an absolute URI string.
/// </para>
/// <para>
/// -or-
/// </para>
/// <para>
/// The value specified for a set operation includes the path segments.
/// </para>
/// </exception>
public string Origin { public string Origin {
get { get {
return _origin; return _origin;