[Modify] Edit it
This commit is contained in:
parent
09fd6ca410
commit
044939a181
@ -242,22 +242,27 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the WebSocket subprotocol used in the WebSocket service.
|
/// Gets or sets the name of subprotocol used in the WebSocket service.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
|
||||||
/// Set operation of this property is available before the WebSocket connection has
|
|
||||||
/// been established.
|
|
||||||
/// </remarks>
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// A <see cref="string"/> that represents the subprotocol if any.
|
/// A <see cref="string"/> that represents the name of subprotocol.
|
||||||
/// The default value is <see cref="String.Empty"/>.
|
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The value to set must be a token defined in
|
/// The value specified for a set must be a token defined in
|
||||||
/// <see href="http://tools.ietf.org/html/rfc2616#section-2.2">RFC 2616</see>.
|
/// <see href="http://tools.ietf.org/html/rfc2616#section-2.2">
|
||||||
|
/// RFC 2616</see>.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The default value is an empty string.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </value>
|
/// </value>
|
||||||
|
/// <exception cref="InvalidOperationException">
|
||||||
|
/// The set operation is not available if the session has already started.
|
||||||
|
/// </exception>
|
||||||
|
/// <exception cref="ArgumentException">
|
||||||
|
/// The value specified for a set operation is not a token.
|
||||||
|
/// </exception>
|
||||||
public string Protocol {
|
public string Protocol {
|
||||||
get {
|
get {
|
||||||
return _protocol ?? String.Empty;
|
return _protocol ?? String.Empty;
|
||||||
|
Loading…
Reference in New Issue
Block a user