Command:1

From Awesome Baozam
Revision as of 12:28, 3 November 2015 by Baya (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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