This commit is contained in:
meejah 2021-04-07 16:46:12 -06:00
parent eb3bc6b5a8
commit 4112f718d4

View File

@ -515,7 +515,6 @@ class UsageWebSockets(Usage):
client_factory = WebSocketClientFactory() client_factory = WebSocketClientFactory()
client_factory.protocol = TransitWebSocketClientProtocol client_factory.protocol = TransitWebSocketClientProtocol
client_factory.protocols = ["binary"]
client_protocol = client_factory.buildProtocol(('127.0.0.1', 31337)) client_protocol = client_factory.buildProtocol(('127.0.0.1', 31337))
client_protocol.disconnect = client_protocol.dropConnection client_protocol.disconnect = client_protocol.dropConnection