/*
 * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
 */

package io.ktor.util

/**
 * Create an instance of case insensitive mutable map. For internal use only.
 */
@InternalAPI
fun <Value> caseInsensitiveMap(): MutableMap<String, Value> = CaseInsensitiveMap()

/**
 * Freeze selected set. May do nothing on some platforms.
 */
@InternalAPI
expect fun <T> Set<T>.unmodifiable(): Set<T>
