Difference between revisions of "Command:1"

From Awesome Baozam
Jump to: navigation, search
(Created page with "<pre> size (bytes) 1 cmd type 1 parameters count // max 256 2 cmd id // set by server parameters:N 1 type // if > 0 then it is followed by value, else (<0) followed by co...")
 
Line 1: Line 1:
 +
== request ==
 
<pre>
 
<pre>
 
size (bytes)
 
size (bytes)
Line 17: Line 18:
 
   10 float64
 
   10 float64
 
   11 char
 
   11 char
 +
</pre>
 +
 +
== response ==
 +
<pre>

Revision as of 12:43, 3 November 2015

request

size (bytes)
1  cmd type
1  parameters count // max 256
2  cmd id // set by server
parameters:N
1  type // if  > 0 then it is followed by value, else (<0) followed by count of values (see websocket lentgh rules), followed by values
  1  int8
  2  uint8
  3  int16
  4  uint16
  5  int32
  6  uint32
  7  int64
  8  uint64
  9  float32
  10 float64
  11 char

response