HessianPHP.Filters
Class StreamDumpFilter
HessianPHP.Filters.InterceptingFilter
|
+--HessianPHP.Filters.StreamDumpFilter
class StreamDumpFilter
extends InterceptingFilter
Debugging filter that saves the incoming and outgoing binary streams to files defined in proxy configuration options.
It accepts the following parameters: - in_stream_file : name of the file for the incoming (reply) stream - out_stream_file : name of the file for the outgoing (call) stream - dump_detail : detail of the output, can be 'simple' or 'advanced' - dump_mode : if this is set to 'save' every call will generate a new file, if set to 'append' the output will be appended to the file
- Author:
- Vegeta
- Version:
- 1.0
public void | execute |
public void | saveFile |
execute()
public void execute(var $context,
var $chain)
- Parameters:
$context
$chain
saveFile()
public void saveFile(var $file,
var $context,
var $type)
- Parameters:
$file
$context
$type