add Header

open fun <T> addHeader(headerKey: String, headerValue: T)

Method to add a new header value

Parameters

headerKey

: key of the header

headerValue

: value of the header

Throws

when params inserted do not respect validity range -> null or blank