A handler which implements server side http://www.w3.org/TR/cors/[CORS] support for Vert.x-Web.
package |
Default |
---|
__construct()
allowCredentials( $arg0) : $this
From the MDN documentation you can read:
Important note: when responding to a credentialed request, server must specify a domain, and cannot use wild carding.
boolean
$this
a reference to this, so the API can be used fluently
allowedHeader( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
allowedHeaders( $arg0) : $this
array
$this
a reference to this, so the API can be used fluently
allowedMethod( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
create( $arg0) : \io\vertx\jphp\ext\web\handler\CorsHandler
exposedHeader( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
exposedHeaders( $arg0) : $this
array
$this
a reference to this, so the API can be used fluently
handle( $arg0) : void
RoutingContext
maxAgeSeconds( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently