Categorygithub.com/eclipse/che-go-jsonrpc
repositorypackage
0.0.0-20200317130110-931966b891fe
Repository: https://github.com/eclipse/che-go-jsonrpc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Websocket API

JSON RPC 2.0 protocol is used for client-server communication, but:

  • params is always json object(never array)
  • server to client notifications are treated as Events

the apis include some of the following fields:

{
  "jsonrpc" : "2.0",
  "method": "...",
  "id": "...",
  "params": { },
  "error" : { },
  "result" : { }
}

these fields are part of the protocol so they are not documented.

Websocket messages order

The order is respected

Message fragments MUST be delivered to the recipient in the order sent by the sender.

Helpful Sources