requestLine

fun requestLine(method: HttpMethod, path: String): String(source)

Formats an HTTP request line with the method and path, applying colorization based on the selected theme.

Return

The formatted and optionally colorized request line.

Parameters

method

The HTTP method to display.

path

The request path to display.