Hints: It is recommended to use the methods in this class instead of PHP native methods whenever is possible because this class will offer Long Term Support and the methods will be supported even if the behind PHP methods can change over time, so the code would be easier to maintain.
Usage: static object: Class::method() - This class provides only STATIC methods
class Methods
public staticfunctionparse_http_headers (
string$raw_headers
) {} :: ARRAY
public staticfunctionencode_var_cookie (
string$name,
string$value
) {} :: STRING
public staticfunctionencode_var_post (
string$name,
string$value
) {} :: STRING
public staticfunctionhttp_multipart_form_delimiter (
) {} :: STRING
public staticfunctionhttp_multipart_form_build (
string$delimiter,
array$fields,
array$files
) {} :: STRING
public staticfunctionchunked_part_decode (
string$chunk
) {} :: STRING
@return: {string} the decoded message.
@param: {string} $chunk: the encoded message
Dechunk a HTTP 'transfer-encoding: chunked' part (Ex: Body)
If The Chunked Part was not encoded properly it will be returned it unmodified.