| Methods | 
	
			| 
					
	public
					static
					
				 | NewInstance(): Http
	 | # | 
	
			| 
					
	public
					static
					
				 | SingletonInstance(): Http
	 | # | 
	
			| 
					
	public
					
					
				 | HasQuery(string $sKey): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetQuery(string $sKey, mixed $mDefault = null, bool $bClearPercZeroZero = true): mixed
							Parameters
									
										| $mDefault | = null |  
										| $bClearPercZeroZero | = true |  | # | 
	
			| 
					
	public
					
					
				 | GetQueryAsArray(): array|null
	 | # | 
	
			| 
					
	public
					
					
				 | HasPost(string $sKey): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetPost(string $sKey, mixed $mDefault = null, bool $bClearPercZeroZero = false): mixed
							Parameters
									
										| $mDefault | = null |  
										| $bClearPercZeroZero | = false |  | # | 
	
			| 
					
	public
					
					
				 | GetPostAsArray(): array|null
	 | # | 
	
			| 
					
	public
					
					
				 | HasRequest(string $sKey): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetRequest(string $sKey, mixed $mDefault = null): mixed | # | 
	
			| 
					
	public
					
					
				 | HasServer(string $sKey): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetServer(string $sKey, mixed $mDefault = null): mixed | # | 
	
			| 
					
	public
					
					
				 | HasEnv(string $sKey): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetEnv(string $sKey, mixed $mDefault = null): mixed | # | 
	
			| 
					
	public
					
					
				 | ServerProtocol(): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetMethod(): string
	 | # | 
	
			| 
					
	public
					
					
				 | IsPost(): bool
	 | # | 
	
			| 
					
	public
					
					
				 | IsGet(): bool
	 | # | 
	
			| 
					
	public
					
					
				 | IsPut(): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetQueryString(): string
	 | # | 
	
			| 
					
	public
					
					
				 | CheckLocalhost($sServer): bool
	 | # | 
	
			| 
					
	public
					
					
				 | IsLocalhost(string $sValueToCheck = ''): bool | # | 
	
			| 
					
	public
					
					
				 | GetRawBody(): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetHeader(string $sHeader): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetHeaders(): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetScheme(): string
	 | # | 
	
			| 
					
	public
					
					
				 | IsSecure(): bool
	 | # | 
	
			| 
					
	public
					
					
				 | GetHost(bool $bWithRemoteUserData = false, bool $bWithoutWWW = true, bool $bWithoutPort = false): string
							Parameters
									
										| $bWithRemoteUserData | = false |  
										| $bWithoutWWW | = true |  
										| $bWithoutPort | = false |  | # | 
	
			| 
					
	public
					
					
				 | GetClientIp(bool $bCheckProxy = true): string | # | 
	
			| 
					
	public
					
					
				 | SendPostRequest(
	string $sUrl,
	array $aPost = [],
	string $sCustomUserAgent = 'MailSo Http User Agent (v1)',
	int &$iCode = 0,
	Logger $oLogger = null,
	int $iTimeout = 20,
	string $sProxy = '',
	string $sProxyAuth = '',
): string|bool
							Parameters
									
										| $aPost | = array() |  
										| $sCustomUserAgent | = 'MailSo Http User Agent (v1)' |  
										| $iCode | = 0 |  
										| $oLogger | = null |  
										| $iTimeout | = 20 |  
										| $sProxy | = '' |  
										| $sProxyAuth | = '' |  | # | 
	
			| 
					
	public
					static
					
				 | DetectAndHackFollowLocationUrl(string $sUrl, array &$aOptions, Logger $oLogger = null): string | # | 
	
			| 
					
	public
					
					
				 | SaveUrlToFile(
	string $sUrl,
	resource $rFile,
	string $sCustomUserAgent = 'MailSo Http User Agent (v1)',
	string &$sContentType = '',
	int &$iCode = 0,
	Logger $oLogger = null,
	int $iTimeout = 10,
	string $sProxy = '',
	string $sProxyAuth = '',
	array $aHttpHeaders = [],
	bool $bFollowLocation = true,
): bool
							Parameters
									
										| $sCustomUserAgent | = 'MailSo Http User Agent (v1)' |  
										| $sContentType | = '' |  
										| $iCode | = 0 |  
										| $oLogger | = null |  
										| $iTimeout | = 10 |  
										| $sProxy | = '' |  
										| $sProxyAuth | = '' |  
										| $aHttpHeaders | = array() |  
										| $bFollowLocation | = true |  | # | 
	
			| 
					
	public
					
					
				 | GetUrlAsString(
	string $sUrl,
	string $sCustomUserAgent = 'MailSo Http User Agent (v1)',
	string &$sContentType = '',
	int &$iCode = 0,
	Logger $oLogger = null,
	int $iTimeout = 10,
	string $sProxy = '',
	string $sProxyAuth = '',
	array $aHttpHeaders = [],
	bool $bFollowLocation = true,
): string|bool
							Parameters
									
										| $sCustomUserAgent | = 'MailSo Http User Agent (v1)' |  
										| $sContentType | = '' |  
										| $iCode | = 0 |  
										| $oLogger | = null |  
										| $iTimeout | = 10 |  
										| $sProxy | = '' |  
										| $sProxyAuth | = '' |  
										| $aHttpHeaders | = array() |  
										| $bFollowLocation | = true |  | # | 
	
			| 
					
	public
					
					
				 | ServerNotModifiedCache(int $iExpireTime, bool $bSetCacheHeader = true, string $sEtag = ''): bool
							Parameters
									
										| $bSetCacheHeader | = true |  
										| $sEtag | = '' |  | # | 
	
			| 
					
	public
					
					
				 | ServerNoCache()
	 | # | 
	
			| 
					
	public
					
					
				 | ServerUseCache(string $sEtag, int $iLastModified, int $iExpires)
	 | # | 
	
			| 
					
	public
					
					
				 | StatusHeader(int $iStatus, $sCustomStatusText = ''): void
	 | # | 
	
			| 
					
	public
					
					
				 | GetPath(): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetUrl(): string
	 | # | 
	
			| 
					
	public
					
					
				 | GetFullUrl(): string
	 | # |