PHP Manual
Function Reference
Other Basic Extensions
Swoole
Swoole\Server
Swoole\Server::addlistener
Swoole\Server::addProcess
Swoole\Server::after
Swoole\Server::bind
Swoole\Server::clearTimer
Swoole\Server::close
Swoole\Server::confirm
Swoole\Server::connection_info
Swoole\Server::connection_list
Swoole\Server::__construct
Swoole\Server::defer
Swoole\Server\Port::__construct
Swoole\Server\Port::__destruct
Swoole\Server\Port::on
Swoole\Server\Port::set
Swoole\Server::exist
Swoole\Server::finish
Swoole\Server::getClientInfo
Swoole\Server::getClientList
Swoole\Server::getLastError
Swoole\Server::heartbeat
Swoole\Server::listen
Swoole\Server::on
Swoole\Server::pause
Swoole\Server::protect
Swoole\Server::reload
Swoole\Server::resume
Swoole\Server::send
Swoole\Server::sendfile
Swoole\Server::sendMessage
Swoole\Server::sendto
Swoole\Server::sendwait
Swoole\Server::set
Swoole\Server::shutdown
Swoole\Server::start
Swoole\Server::stats
Swoole\Server::stop
Swoole\Server::task
Swoole\Server::taskwait
Swoole\Server::taskWaitMulti
Swoole\Server::tick
Swoole\Server\Port::on
Swoole\Server::exist
Swoole\Server
PHP Manual
Swoole\Server\Port::set
Set protocol of the server port.
Description
public
void
Swoole\Server\Port::set
(
array
$settings
)
Parameters
settings
Return Values