lithium\net\Socket::encoding PHP Method

encoding() abstract public method

Sets the encoding of the socket connection.
abstract public encoding ( string $charset ) : boolean
$charset string The character set to use.
return boolean `true` if encoding has been set, `false` otherwise.
    public abstract function encoding($charset);