I posted this on the General list earlier today, but am thinking it probably belonged on the developer list. So here goes...
I am successfully using uhttpd-mod-lua to run a Lua http handler I am developing--basically, a RESTful service. I can't seem to find where the uhttpd Lua API is documented (formally or otherwise). I've search the OpenWRT codebase, I've searched the Internet...nothing. I'm sure it'll end up being under my nose.
Right now, my handler is making uhttpd.send(...) calls successfully, but I need to find out what other methods I can use. E.g., I'm trying to set an HTTP status code other than 200 (OK) in the response message, but can't seem to do that directly by calling uhttpd.send().
The only reason I know about the send method is because of sample code on the Internet. Surely there's got to be more, and it has to have some documentation (even if only as code comments), right?