Inheritance: implements ElephantIO\EngineInterface
Example #1
0
 /** {@inheritDoc} */
 protected function getDefaultOptions()
 {
     $defaults = parent::getDefaultOptions();
     $defaults['version'] = 2;
     $defaults['use_b64'] = false;
     $defaults['transport'] = static::TRANSPORT_POLLING;
     return $defaults;
 }
Example #2
0
 /** {@inheritDoc} */
 protected function getDefaultOptions()
 {
     $defaults = parent::getDefaultOptions();
     $defaults['protocol'] = 1;
     $defaults['transport'] = static::TRANSPORT_WEBSOCKET;
     return $defaults;
 }