vertx / io.vertx.rxjava.ext.web.handler / CSRFHandler / setCookieName

setCookieName

open fun setCookieName(name: String): CSRFHandler

Set the cookie name. By default XSRF-TOKEN is used as it is the expected name by AngularJS however other frameworks might use other names.

Parameters

name - a new name for the cookie.

Return
fluent