Refactoring sendBeacon function for having the option for customizing formatResponse inside plugins.
This open the posibilities for modifying the output format and adapt it to the required response.
My goal is to insert the data in one step in some noSql engine or hadoop framework, for post-procesing in batchs.
Nginx+empty_gif+redis give me the ability for doing that, but the url from boomerang has to be slightly modified.
That's the reason of this little change. I hope this can be useful for other purposes too.
Thank you very much.
pd: Sorry for the bunch of lines modified, my editor kills blank spaces and it makes a lot of noise in space-limited files.
I just wrote a comment for a better understanding of the changes.
pd: My pull request was only about the first commit. I'm working on this project and now we have 4 commits in this request. Please ignore it.
Refactoring sendBeacon function for having the option for customizing formatResponse inside plugins. This open the posibilities for modifying the output format and adapt it to the required response.
My goal is to insert the data in one step in some noSql engine or hadoop framework, for post-procesing in batchs.
Nginx+empty_gif+redis give me the ability for doing that, but the url from boomerang has to be slightly modified. That's the reason of this little change. I hope this can be useful for other purposes too.
Thank you very much.
pd: Sorry for the bunch of lines modified, my editor kills blank spaces and it makes a lot of noise in space-limited files. I just wrote a comment for a better understanding of the changes.
pd: My pull request was only about the first commit. I'm working on this project and now we have 4 commits in this request. Please ignore it.