[Twisted-Python] Large blocks of data and Perspective Broker
andrew-twisted at puzzling.org
andrew-twisted at puzzling.org
Mon Jun 13 21:41:17 EDT 2005
On Sun, Jun 12, 2005 at 12:27:55PM -0700, Shawn Church wrote:
> Could someone please point me to an example of passing a large block of
> data (>640k) via Perspective Broker??? Specifically I want my PB server
> to create and return a PDF file in response to a remote method call. I
> guess I can just break it up into blocks and pass it that way but it
> seems there should be a better way. I know I saw this somewhere but am
> unable to locate the reference now.
Use twisted.spread.util.FilePager or StringPager.
-Andrew.
More information about the Twisted-Python
mailing list