Core.register_service


#1

Hi,

is there a way in a core.register_service to get the uri requested ?
I want to generate the body according to uri.

Regards.


#2

simply applet.path :stuck_out_tongue:


#3

hi,

The callback argument is an object of type applethttp. This class provides the requested path and also query string. you can look the docimentation here:

http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#applethttp-class


#4

how can i do the same in tcp mode???