mongoose/docs/c-api/http.h/struct_mg_ssi_call_ctx.md
Deomid Ryabkov f9a6403b11 Add MG_EV_SSI_CALL_CTX
This is the variant of MG_EV_SSI_CALL with context of the SSI call being
processed in addition to the tag argument. Specifically, call handler
now gets access to the HTTP request and the name of the file being processed.

MG_EV_SSI_CALL is preserved for backward compatibility.

PUBLISHED_FROM=eeea7487c062505abdb23b6f64994ff7a6b60ff8
2016-10-04 23:51:29 +00:00

389 B

title decl_name symbol_kind signature
struct mg_ssi_call_ctx struct mg_ssi_call_ctx struct struct mg_ssi_call_ctx { struct http_message *req; /* The request being processed. */ struct mg_str file; /* Filesystem path of the file being processed. */ struct mg_str arg; /* The argument passed to the tag: <!-- call arg -->. */ };

SSI call context