CIOHeaders
class CIOHeaders : Headers
An adapter from CIO low-level headers map to ktor Headers interface
Constructors
CIOHeaders(headers: HttpHeadersMap) An adapter from CIO low-level headers map to ktor Headers interface |
Properties
val caseInsensitiveName: Boolean Specifies if map has case-sensitive or case-insensitive names |
Functions
Gets all entries from the map |
|
Gets first value from the list of values associated with a name, or null if the name is not present |
|
Gets all values associated with the name, or null if the name is not present |
|
fun isEmpty(): Boolean Checks if this map is empty |
|
Gets all names from the map |
Extension Functions
fun StringValues.filter( Create a new instance of StringValues filtered by the specified predicate |
|
fun StringValues.flattenEntries(): List<Pair<String, String>> Copy values to a list of pairs |
|
fun StringValues.flattenForEach( Invoke block function for every value pair |
|
Retrieves LastModified and ETag versions from headers. |
|
fun StringValues.toMap(): Map<String, List<String>> Copy values to a new independent map |