/**
* Initialize the response.
*/
public function init()
{
parent::init();
$this->formatters = [self::FORMAT_THRIFT => 'UrbanIndo\\Yii2\\Thrift\\ResponseFormatter'];
$this->_transport = new TBufferedTransport(new TPhpStream(TPhpStream::MODE_R | TPhpStream::MODE_W));
$this->_protocol = new TBinaryProtocol($this->_transport, true, true);
}