Http.php 605 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Qii\Library;
  3. /**
  4. * A parallel HTTP client written in pure PHP
  5. *
  6. * This file just for non-composer user, require this file directly.
  7. *
  8. * @author hightman <hightman@twomice.net>
  9. * @link http://hightman.cn
  10. * @copyright Copyright (c) 2015 Twomice Studio.
  11. */
  12. \Qii\Autoloader\Psr4::getInstance()
  13. ->setUseNamespaces([
  14. ['hightman\http', true],
  15. ])
  16. ->addNamespaces([
  17. ['hightman\http', Qii_DIR . DS .'Library'. DS . 'Third'. DS .'hightman'],
  18. ]);
  19. use hightman\http\Client;
  20. use hightman\http\Request;
  21. use hightman\http\Response;
  22. class Http extends Client
  23. {
  24. }