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