|
|
|
@ -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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|