UpgradeRequest.setHeaders

Sets multiple headers on the request. <p> Only sets those headers provided, does not remove headers that exist on request and are not provided in the parameter for this method. <p> Convenience method vs calling {@link #setHeader(string, List)} multiple times.

@param headers the headers to set

interface UpgradeRequest
void
setHeaders
(
Map!(string, List!(string)) headers
)

Meta