| 1530 | } |
| 1531 | |
| 1532 | void jsonrpc_notification_end_noparams(struct jsonrpc_notification *n) |
| 1533 | { |
| 1534 | json_object_end(n->stream); /* closes '.' */ |
| 1535 | |
| 1536 | /* We guarantee to have \n\n at end of each response. */ |
| 1537 | json_stream_append(n->stream, "\n\n", strlen("\n\n")); |
| 1538 | } |
| 1539 | |
| 1540 | struct jsonrpc_request *jsonrpc_request_start_( |
| 1541 | const tal_t *ctx, const char *method, |
no test coverage detected