Il giorno 03/feb/2011, alle ore 12.15, luigi scarso ha scritto: > On Thu, Feb 3, 2011 at 11:59 AM, Roberto De Ioris <[email protected]> wrote: >> yes, you can always use http (or even the uwsgi protocol) to erlang->uwsgi >> communication > hm, I haven't found an erlang client that understand uwsgi protocol > but I suspect that should be easy to build. > I will investigate, it could be a good exercise to understand uwsgi internals. > >
http://projects.unbit.it/uwsgi/browser/contrib/uwsgi.erl this is very simple (and ugly) uwsgi:send(host, port, message) example: uwsgi:send("127.0.0.1", 3031, [ "SERVER_PROTOCOL", "HTTP/1.1", "SERVER_NAME", "example.com", "REQUEST_METHOD, "GET"]). > -- > luigi > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
