lithium\net\socket\Context::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'mode'
string'message'
object
Returns
voidSource
public function __construct(array $config = []) {
$defaults = ['mode' => 'r', 'message' => null];
parent::__construct($config + $defaults);
$this->timeout($this->_config['timeout']);
}