def sendFragmentEnd(self, data):
self._sendMessage(False, STREAM, data)<EOL>
see sendFragmentEnd()

If data is a unicode object then the frame is sent as Text.
If the data is a bytearray object then the frame is sent as Binary.