Panel/ControlPanel/protocol/GameQ/gameq/protocols/http.php
2025-09-11 13:29:15 -04:00

42 lines
No EOL
1.2 KiB
PHP

<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Http Protocol Class
*
* Used for making actual http requests to servers for information
*
* @author Austin Bischoff <austin@codebeard.com>
*/
abstract class GameQ_Protocols_Http extends GameQ_Protocols
{
/**
* Set the transport to use TCP
*
* @var string
*/
protected $transport = self::TRANSPORT_TCP;
/**
* Default port for this server type
*
* @var int
*/
protected $port = 80; // Default port, used if not set when instanced
}