nx_mcp_sse.nx
buildroot/runtime/nx_mcp_sse.nx
about
MCP response decoding belongs to the native stdio transport, before protocol output.
No partial notification/response batch escapes when framing or correlation fails.
dependencies 2 imports · 3 importers
imports: nx_mcp_route.nxnx_http_response_parse.nx
imported by: nx_mcp_sse_gate_t316.nxnx_mcp_stdio.nxnx_mcp_stdio_sse_t316.nx
structs
| 9 | struct NxMcpStream { request:*u8, request_n:i64, output:*u8, capacity:i64, used:i64, responses:i64 } |
consts
| 5 | const MSS_BAD_BODY:i64=0-1 |
| 6 | const MSS_BAD_ID:i64=0-2 |
| 7 | const MSS_INCOMPLETE:i64=0-3 |
| 8 | const MSS_OVERFLOW:i64=0-4 |
functions
| 11 | func mss_message_kind(request:*u8,request_n:i64,data:*u8,n:i64)->i64 |
| 45 | func mss_append(s:*NxMcpStream,data:*u8,n:i64)->i64 called by 1: mss_accept |
| 63 | func mss_accept(s:*NxMcpStream,data:*u8,n:i64)->i64 |
| 72 | func mss_events(s:*NxMcpStream,src:*u8,n:i64)->i64 |
| 109 | func mss_decode(request:*u8,request_n:i64,src:*u8,n:i64,sse:i64,out:*u8,capacity:i64)->i64 |
| 119 | func mss_media_type(src:*u8,n:i64,parsed:*i64)->i64 |