lithium\net\Socket::encoding()

abstract public method

Sets the encoding of the socket connection.

Parameters

  • string $charset

    The character set to use.

Returns

boolean

true if encoding has been set, false otherwise.

Source

	abstract public function encoding($charset);