getResponseHeader

open fun getResponseHeader(name: String): String?

Get a response header value. Call this after calling {@link com.sap.cloud.mobile.kotlin.odata.http.HttpRequest#send() HttpRequest.send}.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.http.HttpRequest#responseHeaders HttpRequest.responseHeaders}.

Return

(nullable) Response header value, or null if not found.

Parameters

name

Header name.