CorsBuilder (class)

Class CorsBuilder

A builder object that assists in defining Cross Origin Request related headers.

Each of the methods in this object provide a fluent interface. Once you've set all the headers you want to use, the build() method can be used to return a modified Response.

It is most convenient to get this object via Request::cors().

Namespace: Cake\Network
See: \Cake\Network\Response::cors()
Location: Network/CorsBuilder.php

Properties summary