[Twisted-Python] XMLRPC getting calling host

Andrew Bennetts andrew-twisted at puzzling.org
Wed May 28 00:51:07 EDT 2003

On Wed, May 28, 2003 at 06:22:16AM +0200, Heiko Wundram wrote:
> I've come to the point where I need to query the IP an XMLRPC request
> came from. In UDP, you get it served when the call to datagramReceived
> comes through, but I've not seen any attribute of the XMLRPC class, or
> of the underlying Resource class which states anything about how to get
> this attribute. Is it possible? And if, how?

Request objects have a .getClientIP method.


More information about the Twisted-Python mailing list