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