[Modify] Move and rename it
This commit is contained in:
parent
3cab7b7722
commit
7c1476522f
@ -73,6 +73,23 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Internal Properties
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the opcode for the message.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// <see cref="Opcode.Text"/>, <see cref="Opcode.Binary"/>,
|
||||||
|
/// or <see cref="Opcode.Ping"/>.
|
||||||
|
/// </value>
|
||||||
|
internal Opcode Opcode {
|
||||||
|
get {
|
||||||
|
return _opcode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -144,19 +161,6 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the message type.
|
|
||||||
/// </summary>
|
|
||||||
/// <value>
|
|
||||||
/// <see cref="Opcode.Text"/>, <see cref="Opcode.Binary"/>, or <see cref="Opcode.Ping"/>.
|
|
||||||
/// </value>
|
|
||||||
[Obsolete ("This property will be removed. Use any of the Is properties instead.")]
|
|
||||||
public Opcode Type {
|
|
||||||
get {
|
|
||||||
return _opcode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user