adjust to new API

This commit is contained in:
Tobias Oberstein
2013-10-23 19:05:10 +02:00
parent 83db700f0a
commit fe7a94adb2

View File

@@ -47,7 +47,7 @@ class RandomByteStreamProducer:
self.paused = False
if not self.started:
self.proto.beginMessage(opcode = WebSocketProtocol.MESSAGE_TYPE_BINARY)
self.proto.beginMessage(binary = True)
self.proto.beginMessageFrame(FRAME_SIZE)
self.started = True