On Thursday 29 September 2011 19:24:13 Roberto De Ioris wrote:
> do not worry uWSGi does not make any assumption about the passed vars, you
> can even pass
> 
> {'foo':'bar'}
> 
> to it and it will be happy.
> 
> uwsgi.send_message("addr:port", 0, 0, {'foo':'bar'})
> 
> this will translate to a string of 14 byte sent to the socket.

Oh, now I see, thanks!

I prefer to use uwsgi.rpc call for such task, but looks like, that uWSGI RPC 
stack haven't got async interface like "async_send_message".

wbr, Valentin V. Bartenev
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to