diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-08 10:44:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-08 10:44:20 +1200 |
commit | a388ddfd781fd05a414c07cac8446ef151cbd1d2 (patch) | |
tree | ad0181e2bfd3408c4e5398e5959da914612dc54b /.sources/variables.less | |
parent | 982077ec31ddffeab9830a02b425c35cb0b0dac5 (diff) | |
download | mitmproxy-a388ddfd781fd05a414c07cac8446ef151cbd1d2.tar.gz mitmproxy-a388ddfd781fd05a414c07cac8446ef151cbd1d2.tar.bz2 mitmproxy-a388ddfd781fd05a414c07cac8446ef151cbd1d2.zip |
A new interface for reply
Reply is now explicit - it's no longer a callable itself. Instead, we have:
reply.kill() - kill the flow
reply.ack() - ack, but don't send anything
reply.send(message) - send a response
This is part of an incremental move to detach reply from our flow objects,
and unify the script and handler interfaces.
Diffstat (limited to '.sources/variables.less')
0 files changed, 0 insertions, 0 deletions