메소드 |
설명 |
|
__clone ( ) |
|
|
__construct ( ) |
|
|
encrypt ( string $certificate, string $key = null, array $options = [] ) : Host |
Define TLS encryption settings for this host |
|
export ( ) : array |
Retrieve an associative array summarizing the host definition |
|
expose ( string $address, integer $port ) : Host |
Assign the IP and port on which to listen |
|
getDefinitions ( ) : array |
Used by the server bootstrapper to access host configs created by the application |
|
name ( string $name ) : Host |
Assign a domain name (e.g. localhost or mysite.com or subdomain.mysite.com) |
|
redirect ( string $absoluteUri, integer $redirectCode = 307 ) : Host |
Redirect all requests that aren't serviced by an action callable |
|
separateIPv4Binding ( ) : boolean |
|
|
use ( callable | aerys\Middleware | aerys\Bootable | aerys\Monitor $action ) : Host |
Use a callable request action or Middleware |
|