We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The System.parse() method takes a byte (string of one character, in Python 2) as argument and returns:
System.parse()
False
True
If the system has nothing to send to the client, as in the case of brodcast requests, System.parse() should return True.
It eventually raises a ValueError in case there is an unexpected error (not considered by the protocol).
ValueError
The text was updated successfully, but these errors were encountered:
ValueError now is raised only in case of unknown protocol command. Still looking for additional events.
Sorry, something went wrong.
The server implements the specification of #1
0459234
The requirement is now implemented in the server. The System.parse() has to use this specification.
According to issue #1, System.parse() raises ValueError in case of wr…
931f434
…ong msg length
marco-buttu
giuseppe-carboni
No branches or pull requests
The
System.parse()
method takes a byte (string of one character, in Python 2) as argument and returns:False
when the byte is not the header and it is still waiting for the headerTrue
when it has already got the header and it is composing the messageIf the system has nothing to send to the client, as in the case of brodcast requests,
System.parse()
should returnTrue
.It eventually raises a
ValueError
in case there is an unexpected error (not considered by the protocol).The text was updated successfully, but these errors were encountered: