diff --git a/Client---Server-protocol-draft.md b/Client---Server-protocol-draft.md index 7828e87..b90a7d7 100644 --- a/Client---Server-protocol-draft.md +++ b/Client---Server-protocol-draft.md @@ -1,27 +1,128 @@ This is a proposition for the client -> server communication protocol. The idea is that we need to be able to define and call functions, and the very least. +

Client -> Server

- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Token Command Arguments Description
TokenCommandArgumentsDescription
__hello
<#ref_num>__echooptional message
<#ref_num>__define"JavaScript"
<#ref_num>__start
<#ref_num>__stopoptional message
lt;#ref_num>__boot<#ref_num> <#ref_num>
<#ref_num>__erroroptional message
<#ref_num>COMMANDoptional message
- - <#ref_num> __define "JavaScript" - - - <#ref_num> __start - - - <#ref_num> __stop Optional Message - - - __boot <#ref_num> <#ref_num> - - - <#ref_num> __error Optional message - - - <#ref_num> COMMAND Optional parameters - +

Server -> Client

+

Here the <#ref_num> is the clients own <#ref_num>.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TokenCommandArgumentsDescription
<#ref_num>__ok_hello
<#ref_num>__ok_echooptional message
<#ref_num>__ok_define"JavaScript"
<#ref_num>__ok_start
<#ref_num>__ok_stopoptional message
lt;#ref_num>___ok_boot<#ref_num> <#ref_num>
<#ref_num>__erroroptional message
<#ref_num>COMMANDoptional message
\ No newline at end of file