Add missing SSL doc

This commit is contained in:
Chris Boden 2017-09-10 11:44:51 -04:00
parent c5055fa6f2
commit e1980b2016

View File

@ -52,6 +52,7 @@ class IoServer {
* @param \Ratchet\MessageComponentInterface $component The application that I/O will call when events are received * @param \Ratchet\MessageComponentInterface $component The application that I/O will call when events are received
* @param int $port The port to server sockets on * @param int $port The port to server sockets on
* @param string $address The address to receive sockets on (0.0.0.0 means receive connections from any) * @param string $address The address to receive sockets on (0.0.0.0 means receive connections from any)
* @param array $sslconf An array of PHP stream context options in order to support SSL
* @return IoServer * @return IoServer
*/ */
public static function factory(MessageComponentInterface $component, $port = 80, $address = '0.0.0.0', $sslconf = null) { public static function factory(MessageComponentInterface $component, $port = 80, $address = '0.0.0.0', $sslconf = null) {