php_http.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Copyright (c) The PHP Group |
  4. +----------------------------------------------------------------------+
  5. | This source file is subject to version 3.01 of the PHP license, |
  6. | that is bundled with this package in the file LICENSE, and is |
  7. | available through the world-wide-web at the following url: |
  8. | https://www.php.net/license/3_01.txt |
  9. | If you did not receive a copy of the PHP license and are unable to |
  10. | obtain it through the world-wide-web, please send a note to |
  11. | license@php.net so we can mail you a copy immediately. |
  12. +----------------------------------------------------------------------+
  13. | Authors: Brad Lafountain <rodif_bl@yahoo.com> |
  14. | Shane Caraveo <shane@caraveo.com> |
  15. | Dmitry Stogov <dmitry@php.net> |
  16. +----------------------------------------------------------------------+
  17. */
  18. #ifndef PHP_HTTP_H
  19. #define PHP_HTTP_H
  20. int make_http_soap_request(zval *this_ptr,
  21. zend_string *request,
  22. char *location,
  23. char *soapaction,
  24. int soap_version,
  25. zval *response);
  26. int proxy_authentication(zval* this_ptr, smart_str* soap_headers);
  27. int basic_authentication(zval* this_ptr, smart_str* soap_headers);
  28. void http_context_headers(php_stream_context* context,
  29. bool has_authorization,
  30. bool has_proxy_authorization,
  31. bool has_cookies,
  32. smart_str* soap_headers);
  33. #endif