headers

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

Gets all headers from the response.

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

Return

A set of header entries with name and list of values.