Chatroom by Socket.IO
Project description
turing-chatroom-bus
------------------------------------------------
Response
================================================
Success
################################################
.. code-block:: json
{
"_uid": <The id of the request>,
"success": <true or false>,
"error": <[Optional] error message>
}
Register
=================================================
client
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <client path>
}
RPC
=================================================
RPC Request
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <target path>,
"payload": {
"id": <RPC request id>,
"method": <method name>,
"parameters": <parameters>
}
}
RPC Response
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <RPC request source path>,
"payload": {
"id": <RPC request id>,
"result": <RPC result>,
"error": <error message>
}
}
------------------------------------------------
Response
================================================
Success
################################################
.. code-block:: json
{
"_uid": <The id of the request>,
"success": <true or false>,
"error": <[Optional] error message>
}
Register
=================================================
client
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <client path>
}
RPC
=================================================
RPC Request
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <target path>,
"payload": {
"id": <RPC request id>,
"method": <method name>,
"parameters": <parameters>
}
}
RPC Response
#################################################
.. code-block:: json
{
"_uid": <uuid>,
"path": <RPC request source path>,
"payload": {
"id": <RPC request id>,
"result": <RPC result>,
"error": <error message>
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for turing-chatroom-bus-0.0.1.post0.dev9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5833d46dabc22a7cfd384c6a97fe47de1bc92fa92ab77881d392280615724da5 |
|
MD5 | 10509d7a09b9aaa973dd0be6ff708937 |
|
BLAKE2b-256 | 85d18481002bcb2864ebccb6f640f3bc9ea4d8027fed1db8163aa3b450f0057a |