THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
struct TSRemapContext { const char *plugin_tag; URL rule_from_url; URL rule_to_url; int rule_param_count; const char *rule_params[]; }; |
Plugin then receives this information and returns a continuation for TS to call.
Code Block |
---|
TSCont TSRemapPluginSetup(TSRemapContext *remap_context); |
The plugin is free to return the same continuation or different continuations for each invocation. The plugin can also store context information for this continuation using TSContDataSet.
Invoke the plugin via a continuation event just like regular plugins
...