Smart.Framework Logo

final class \SmartHttpUtils
{ } ::

Class: Smart HTTP Utils - provides utils function to work with HTTP protocol.


class Methods

public static function encode_var_post ( $name, $value ) {} :: 
public static function http_multipart_form_delimiter ( ) {} :: 
public static function http_multipart_form_build ( $delimiter, $fields, $files ) {} :: 
public static function chunked_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.

class Properties


class Constants

public const AUTH_USER_BEARER = ":BEARER" ;  ::

Sample code: PHP

<?php

// Usage example:
 
Smart::some_method_of_this_class(...);

// #end php code


documentation generated on: 2023-10-19 23:15:45 +0000


Smart.Framework © 2009-2023 unix-world.org