Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
PhpHttp.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\utils\http\foundation
;
4
13
class
PhpHttp
extends
AbstractHttp
{
14
15
public
function
getAllHeaders
() {
16
return \getallheaders ();
17
}
18
19
public
function
header
($key, $value,
bool
$replace =
true
,
int
$http_response_code = 0) {
20
\header ( $key .
': '
. $value, $replace, $http_response_code );
21
}
22
23
public
function
headersSent
(
string
&$file =
null
,
int
&$line =
null
) {
24
return \headers_sent ( $file, $line );
25
}
26
27
public
function
getInput
() {
28
$put = array ();
29
\parse_str ( \file_get_contents (
'php://input'
), $put );
30
return
$put;
31
}
32
}
33
Ubiquity\utils\http\foundation\AbstractHttp
Ubiquity\utils\http\foundation$AbstractHttp This class is part of Ubiquity.
Definition
AbstractHttp.php:13
Ubiquity\utils\http\foundation\PhpHttp
Ubiquity\utils\http\foundation$PhpHttp This class is part of Ubiquity.
Definition
PhpHttp.php:13
Ubiquity\utils\http\foundation\PhpHttp\getInput
getInput()
Definition
PhpHttp.php:27
Ubiquity\utils\http\foundation\PhpHttp\headersSent
headersSent(string &$file=null, int &$line=null)
Definition
PhpHttp.php:23
Ubiquity\utils\http\foundation\PhpHttp\header
header($key, $value, bool $replace=true, int $http_response_code=0)
Definition
PhpHttp.php:19
Ubiquity\utils\http\foundation\PhpHttp\getAllHeaders
getAllHeaders()
Definition
PhpHttp.php:15
Ubiquity\utils\http\foundation
Definition
AbstractHttp.php:3
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
utils
http
foundation
PhpHttp.php
Generated on Sun Dec 10 2023 15:04:27 for
Ubiquity
by
doxygen
1.9.8