ktor-http / io.ktor.http / ContentTypeMatcher

ContentTypeMatcher

interface ContentTypeMatcher

Interface for any objects that can match a ContentType.

Functions

contains

abstract fun contains(contentType: ContentType): Boolean

Checks if this type matches a contentType type.