Highlighting

Functions

Link copied to clipboard
fun highlightBody(body: String, contentType: ContentType, useColor: Boolean = isColorSupported()): String

Applies ANSI color highlighting to an HTTP body string based on its content type.