Http

class OC\AppFramework\Http
Source:lib/private/AppFramework/Http.php#35
Parent:OCP\AppFramework\Http

Properties

protected static property OC\AppFramework\Http::$headers
Source:lib/private/AppFramework/Http.php#38

Methods

public OC\AppFramework\Http::__construct($server, $protocolVersion=HTTP/1.1)
Source:

lib/private/AppFramework/Http.php#44

Parameters:
  • $server (array) $_SERVER
  • $protocolVersion (string) the http version to use defaults to HTTP/1.1
public OC\AppFramework\Http::getStatusHeader($status)
Gets the correct header
Source:lib/private/AppFramework/Http.php#119
Parameters:
Returns:string