Class HttpExtension
HTTP extension for Nette DI.
-
Nette\DI\CompilerExtension
uses
Nette\SmartObject
-
Nette\Bridges\HttpDI\HttpExtension
Methods summary
public
|
|
public
|
#
loadConfiguration( )
Processes configuration data. Intended to be overridden by descendant.
Processes configuration data. Intended to be overridden by descendant.
Overrides
|
public
|
#
afterCompile( Nette\PhpGenerator\ClassType $class )
Adjusts DI container compiled to PHP class. Intended to be overridden by
descendant.
Adjusts DI container compiled to PHP class. Intended to be overridden by
descendant.
Overrides
|
Properties summary
public
array
|
$defaults
|
#[
'proxy' => [],
'headers' => [
'X-Powered-By' => 'Nette Framework',
'Content-Type' => 'text/html; charset=utf-8',
],
'frames' => 'SAMEORIGIN',
'csp' => [],
] |