That sounds like a reasonable solution to me.
Am sure others will chime in if they disagree with me :)
Bill
Sent from my iPhone
On Jun 18, 2019, at 2:59 AM, Stephen R. van den Berg srb@cuci.nl wrote:
H William Welliver III wrote:
In short, subclass Request, implement shuffler there and add it as an option alongside the standard request object. There???s plenty of precedent for that (various backend flavors, various hilfes, etc) and that approach won???t cause any heartburn for anyone.
Well, I looked at it. Subclassing it is a bit messy. How about this instead:
- By default it will use the old buffered send.
- If you use set_mode(SHUFFLER) prior to using response_and_finish()
it will use the shuffler to send.
Stephen.