Age | Commit message (Collapse) | Author |
|
it is dangerous, but that's what is interesting !
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
when a client disconnects, we must not try to send him a message since
its socket is destroyed.
However, a race condition can still probably occur if a client is
disconnected during the handling of a request which leads to a
notification.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
what the client will receive will look like:
{'type': TYPE, 'content': CONTENT}
TYPE will be either 'notification' or 'response'
CONTENT will be the content of the notification or the response
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
The server is ready to deal with requests from web browsers.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|