Lines Matching defs:options
50 * @param array $options
52 public function __construct(array $options = [])
58 $options
61 if (!\in_array($this->options['transport'], self::TRANSPORTS, true)) {
64 $this->options['transport'],
82 if ($this->options['transport'] !== 'udp') {
86 $transport = $this->options['transport'];
87 if ($transport === 'tcp' && $this->options['use_ssl'] === true) {
110 \strtoupper($this->options['transport']),
128 $socket = new Socket($socket, \array_merge($this->options, [
129 'timeout_read' => $this->options['idle_timeout']
179 * @param array $options
186 array $options = []
188 return (new self($options))->listen(
199 * @param array $options
206 array $options = []
212 $options,
223 * @param array $options
230 array $options = []
236 $options,
246 * @param array $options
252 array $options = []
258 $options,