You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

  1. <?php
  2. /*
  3. This file is part of ActiveLink PHP NET Package (www.active-link.com).
  4. Copyright (c) 2002-2004 by Zurab Davitiani
  5. You can contact the author of this software via E-mail at
  6. hattrick@mailcan.com
  7. ActiveLink PHP NET Package is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU Lesser General Public License as published by
  9. the Free Software Foundation; either version 2.1 of the License, or
  10. (at your option) any later version.
  11. ActiveLink PHP NET Package is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU Lesser General Public License for more details.
  15. You should have received a copy of the GNU Lesser General Public License
  16. along with ActiveLink PHP NET Package; if not, write to the Free Software
  17. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. /*
  20. * requires Socket class
  21. */
  22. import("org.active-link.net.Socket");
  23. /**
  24. * HTTPServer class provides functionality to receive HTTP requests and serve responses
  25. * @class HTTPServer
  26. * @package org.active-link.net
  27. * @author Zurab Davitiani
  28. * @version 0.4.0
  29. * @extends Socket
  30. * @requires Socket
  31. * @see Socket
  32. */
  33. class HTTPServer extends Socket {
  34. // protected properties
  35. var $defaultServer;
  36. function HTTPServer () {
  37. $this->defaultServer = "ActiveLink NET Object/0.1";
  38. }
  39. }