Created Client<->Server protocol draft (markdown)
parent
97c5426d8d
commit
442ec9f9d0
1 changed files with 13 additions and 0 deletions
13
Client---Server-protocol-draft.md
Normal file
13
Client---Server-protocol-draft.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
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.
|
||||
|
||||
`
|
||||
{'define': { 'name' : 'HelloWorld',
|
||||
'body' : 'function helloWorld(x,y): {return x+y+2};'
|
||||
}
|
||||
}
|
||||
|
||||
{'call' : { 'name' : 'HelloWorld',
|
||||
'params' : '5,6',
|
||||
}
|
||||
}
|
||||
`
|
Reference in a new issue