lithium\net\socket\Curl::encoding PHP Méthode

encoding() public méthode

encoding() is currently unimplemented for this socket adapter
public encoding ( string $charset )
$charset string
    public function encoding($charset)
    {
    }

Usage Example

Exemple #1
0
 public function testEncoding()
 {
     $stream = new Curl($this->_testConfig);
     $result = $stream->open();
     $stream->encoding('UTF-8');
     $result = $stream->resource();
     $this->assertTrue(is_resource($result));
     $stream = new Curl($this->_testConfig + array('encoding' => 'UTF-8'));
     $result = $stream->open();
     $result = $stream->resource();
     $this->assertTrue(is_resource($result));
 }
All Usage Examples Of lithium\net\socket\Curl::encoding