v1.0.0
English

Cors.php

system/HTTP/Cors.php
1 class 14 methods

class Cors

Cross-Origin Resource Sharing (CORS)
__construct ($config = null) public
factory (string $configName = 'default') public
isPreflightRequest (IncomingRequest $request) public
handlePreflightRequest (RequestInterface $request, ResponseInterface $response) public
checkWildcard (string $name, int $count) private
checkWildcardAndCredentials (string $name, string $header) private
setAllowOrigin (RequestInterface $request, ResponseInterface $response) private
setAllowHeaders (ResponseInterface $response) private
setAllowMethods (ResponseInterface $response) private
setAllowMaxAge (ResponseInterface $response) private
setAllowCredentials (ResponseInterface $response) private
addResponseHeaders (RequestInterface $request, ResponseInterface $response) public
setExposeHeaders (ResponseInterface $response) private
hasResponseHeaders (RequestInterface $request, ResponseInterface $response) public
phpDG v1.0.0 Cors.php 662 files 498 classes 763 fn
Generated