paint-brush
Understanding How an Apache APISIX Plugin Worksby@nfrankel
176 reads

Understanding How an Apache APISIX Plugin Works

by Nicolas FränkelSeptember 29th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The ctx parameter in Apache APISIX custom plugins is a versatile Lua table that stores crucial request-related data. It plays a central role in data manipulation and forwarding within the plugin ecosystem. This article explores its attributes, including _plugin_name, route_id, var, and more, shedding light on their significance in API development. With insightful explanations and practical insights, you'll gain a deeper understanding of how to harness the power of the ctx parameter for your custom plugins. Plus, discover a handy tip for overcoming buffer limitations when working with this parameter.
featured image - Understanding How an Apache APISIX Plugin Works
Nicolas Fränkel HackerNoon profile picture
Nicolas Fränkel

Nicolas Fränkel

@nfrankel

L O A D I N G
. . . comments & more!

About Author

Nicolas Fränkel HackerNoon profile picture
Nicolas Fränkel@nfrankel

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite