mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-09 22:58:09 +08:00
7bed7ff482
Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
17 lines
489 B
Markdown
17 lines
489 B
Markdown
---
|
|
title: "mg_rpc_create_request()"
|
|
decl_name: "mg_rpc_create_request"
|
|
symbol_kind: "func"
|
|
signature: |
|
|
int mg_rpc_create_request(char *buf, int len, const char *method,
|
|
const char *id, const char *params_fmt, ...);
|
|
---
|
|
|
|
Create JSON-RPC request in a given buffer.
|
|
|
|
Return length of the request, which
|
|
can be larger then `len` that indicates an overflow.
|
|
`params_fmt` format string should conform to `json_emit()` API,
|
|
see https://github.com/cesanta/frozen
|
|
|