headers

open override fun headers(): Set<Map.Entry<String, List<String>>>

Gets all headers from the response.

Returns a set of all header entries where each entry contains the header name and a list of values (since HTTP headers can have multiple values with the same name).

Return

A set of header entries mapping header names to lists of values.