php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
http.c File Reference
#include "php_http.h"
#include "php_ini.h"
#include "url.h"
#include "SAPI.h"
#include "zend_exceptions.h"
#include "basic_functions.h"
#include "zend_enum.h"

Go to the source code of this file.

Macros

#define CHECK_OPTION(name)
 

Functions

PHPAPI void php_url_encode_hash_ex (HashTable *ht, smart_str *formstr, const char *num_prefix, size_t num_prefix_len, const zend_string *key_prefix, zval *type, const zend_string *arg_sep, int enc_type)
 
 PHP_FUNCTION (http_build_query)
 
 PHP_FUNCTION (request_parse_body)
 
 PHP_FUNCTION (http_get_last_response_headers)
 
 PHP_FUNCTION (http_clear_last_response_headers)
 

Macro Definition Documentation

◆ CHECK_OPTION

#define CHECK_OPTION ( name)
Value:
if (cache_request_parse_body_option(options, value, REQUEST_PARSE_BODY_OPTION_ ## name) == FAILURE) { \
return FAILURE; \
} \
continue; \
}
PHP_JSON_API size_t int options
Definition php_json.h:102
unsigned char key[REFLECTION_KEY_LEN]
#define zend_string_equals_literal_ci(str, c)
@ FAILURE
Definition zend_types.h:61
zend_string * name
value

Function Documentation

◆ PHP_FUNCTION() [1/4]

PHP_FUNCTION ( http_build_query )

Definition at line 231 of file http.c.

◆ PHP_FUNCTION() [2/4]

Definition at line 395 of file http.c.

◆ PHP_FUNCTION() [3/4]

Definition at line 382 of file http.c.

◆ PHP_FUNCTION() [4/4]

PHP_FUNCTION ( request_parse_body )

Definition at line 334 of file http.c.

◆ php_url_encode_hash_ex()

PHPAPI void php_url_encode_hash_ex ( HashTable * ht,
smart_str * formstr,
const char * num_prefix,
size_t num_prefix_len,
const zend_string * key_prefix,
zval * type,
const zend_string * arg_sep,
int enc_type )

Definition at line 109 of file http.c.