Welcome! Log In Create A New Profile

Advanced

Registering Nginx callback in external library

Sammy Raul
April 19, 2012 04:40AM
Hi All,

Here's what I wanted to do:

1) I wanted to write a Nginx location handler for example "/mylocation"
which when invoked should call another program to get the response.

2) The other external program provides a client library where we can
register callbacks.

3) The external program will call the callback when the data is available.



I wanted to know if I am using an external library and one of the external
API is asking for registering callback, how i can achieve this in Nginx.

I cannot give any function from my handler, as that is called internally by
the nginx Core.



Please guide me how I can register a callback inside Nginx which will be
called by the external program.



Thanks,

Raul.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Registering Nginx callback in external library

Sammy Raul April 19, 2012 04:40AM

Re: Registering Nginx callback in external library

sammy_raul April 19, 2012 08:12PM

Re: Registering Nginx callback in external library

agentzh April 20, 2012 03:22AM

Re: Registering Nginx callback in external library

sammy_raul April 23, 2012 12:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready