libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Route lookups


From: silvioprog
Subject: Re: [libmicrohttpd] Route lookups
Date: Wed, 15 Dec 2021 17:49:10 -0300

Hi Gavin.

I implemented routing support in my library (that uses MHD) using regex in PCRE2-style. Take a look at these two examples:

01. https://github.com/risoflora/libsagui/blob/master/examples/example_router_srv.c
02. https://github.com/risoflora/libsagui/blob/master/examples/example_router_vars.c

Feel absolutely free to use it and/or send suggestions!

cheers

On Wed, Dec 15, 2021 at 2:04 PM Gavin Henry <ghenry@sentrypeer.org> wrote:
Hi all,

Does anyone have an example of how you're mapping routes/urls to
functions before I crack on with my own?

Thanks,
Gavin.

--
Kind Regards,

Gavin Henry.
https://sentrypeer.org
 
--
Silvio Clécio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]