original_string: function setEncoding($enc = 'gzip, deflate')
      {
          if (function_exists('gzdeflate')) {
              $this->protocol_version = '1.1';
              $this->setHeader('Accept-Encoding', $enc);
              if (!isset($this->outgoing_headers['Connection'])) {
                  $this->setHeader('Connection', 'close');
                  $this->persistentConnection = FALSE;
              }
              // deprecated as of PHP 5.3.0
              //set_magic_quotes_runtime(0);
              $this->encoding = $enc;
          }
      }
code: function setEncoding($enc = 'gzip, deflate')
      {
          if (function_exists('gzdeflate')) {
              $this->protocol_version = '1.1';
              $this->setHeader('Accept-Encoding', $enc);
              if (!isset($this->outgoing_headers['Connection'])) {
                  $this->setHeader('Connection', 'close');
                  $this->persistentConnection = FALSE;
              }
              // deprecated as of PHP 5.3.0
              //set_magic_quotes_runtime(0);
              $this->encoding = $enc;
          }
      }
code_tokens: function setEncoding ( $ enc = 'gzip, deflate' ) { if ( function_exists ( 'gzdeflate' ) ) { $ this -> protocol_version = '1.1' ; $ this -> setHeader ( 'Accept-Encoding' , $ enc ) ; if ( ! isset ( $ this -> outgoing_headers [ 'Connection' ] ) ) { $ this -> setHeader ( 'Connection' , 'close' ) ; $ this -> persistentConnection = FALSE ; } // deprecated as of PHP 5.3.0 //set_magic_quotes_runtime(0); $ this -> encoding = $ enc ; } }
docstring: use http encoding
  
  @param string $enc encoding style. supported values: gzip, deflate, or both
  
  @access   public
docstring_tokens: use http encoding