mandrewcito / signalrcore

SignalR Core python client
https://mandrewcito.github.io/signalrcore/
MIT License
115 stars 53 forks source link

Why does the library support sending bytes, but not accepting bytes? #91

Closed animitta closed 2 years ago

animitta commented 2 years ago
def handle_message(message):
    method = message[0] # string
    arguments = message[1] # bytes (Hub send to client, but client throw ERROR)
    print(f'>> {method}, {len(arguments)}')
SignalRCoreClient - ERROR - Parse messages Error unsupported operand type(s) for +: 'int' and 'dict'
animitta commented 2 years ago

The library does not implement the binary protocol properly transport.