github.com/aidoskuneen/adk-node@v0.0.0-20220315131952-2e32567cb7f4/rpc/testdata/invalid-idonly.js (about)

     1  // This test checks processing of messages that contain just the ID and nothing else.
     2  
     3  --> {"id":1}
     4  <-- {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"invalid request"}}
     5  
     6  --> {"jsonrpc":"2.0","id":1}
     7  <-- {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"invalid request"}}