nsmcp::Protocol method handle (public)
<instance of nsmcp::Protocol> handle context body
Defined in /usr/local/ns/tcl/nsmcp/protocol.tcl
Parse and handle one JSON-RPC request body. Enforce JSON structure and size bounds, then encode protocol errors or dispatch results.
- Parameters:
- context (required)
- Authenticated request context carrying the principal, grants and selected server.
- body (required)
- Serialized HTTP or JSON-RPC request body.
- Returns:
- The serialized protocol response.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)