[Modify] Add it
This commit is contained in:
parent
3ae03bf403
commit
6c8f033a28
@ -162,5 +162,23 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Private Methods
|
||||||
|
|
||||||
|
private void setData ()
|
||||||
|
{
|
||||||
|
if (_dataSet)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (_opcode == Opcode.Binary) {
|
||||||
|
_dataSet = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
_data = _rawData.UTF8Decode ();
|
||||||
|
_dataSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user