vertx / io.vertx.reactivex.ext.auth.oauth2 / OAuth2Response / getHeader

getHeader

open fun getHeader(name: String): String

Looks up a HTTP response header by name, in case where the response is a list of headers, the first one is returned.

Parameters

name - of the header to look up

Return
the single value for the header.