ServerAccessControl
class ServerAccessControl (View source)
Methods
allowOrigin(array $excepted)
Active Access-control-Allow-Origin
allowMethods(array $excepted)
Active Access-control-Allow-Methods
allowHeaders(array $excepted)
Active Access-control-Allow-Headers
allowCredentials()
Active Access-control-Allow-Credentials
maxAge(string $excepted)
Active Access-control-Max-Age
exposeHeaders(array $excepted)
Active Access-control-Expose-Headers
Details
__construct(Response $response)
AccessControl constructor.
ServerAccessControl
allowOrigin(array $excepted)
Active Access-control-Allow-Origin
ServerAccessControl
allowMethods(array $excepted)
Active Access-control-Allow-Methods
ServerAccessControl
allowHeaders(array $excepted)
Active Access-control-Allow-Headers
ServerAccessControl
allowCredentials()
Active Access-control-Allow-Credentials
ServerAccessControl
maxAge(string $excepted)
Active Access-control-Max-Age
ServerAccessControl
exposeHeaders(array $excepted)
Active Access-control-Expose-Headers