Open Tyki opened 6 years ago
It's a very good idea !
Can you be more explicit about some of your use cases ? We are currently rethinking to design of the plugin system and make it more developer friendly.
All help is welcome :)
Since there is a cookbook about elasticsearch, my suggestion would be to be able to produce some example for all basic cases (a few that came to my mind) :
Would be good to give a CLI a second life, with tools to generate plugins to get the basic skeleton for dependant plugins types (protocol, auth, controler etc)
That's not an issue, but a feedback from an user. It would be amazing to have an example showing all the different possibilities to do on the incoming request and on the outgoing response.
Actually, the "Listen Synchronously" just show how to modify the response. Since there are events like "http:*" and "request:onSuccess", it would be to have a decent list of differents actions that are possibile at this specific moment in the lifecycle of the request.
That would allow the integrator to see what he can do with pipe & hooks