Package-level declarations

Types

Link copied to clipboard
class Context(clientFilter: Filter, clock: Clock, random: Random, oTelFn: (String) -> OpenTelemetry)

Provides a deterministic context for the application through test runs.

Link copied to clipboard

A WiretapTarget that points to an in-memory server.

Link copied to clipboard

A WiretapTarget that points to a running server.

Link copied to clipboard
object Wiretap

Wiretap is a console for monitoring and testing http4k applications. It wraps a http4k application and records all requests and responses, allowing you to monitor what is going on inside the app.

Link copied to clipboard
interface WiretapFunction
Link copied to clipboard
data class WiretapMcpServerOptions(val security: McpSecurity, val path: String)

Options for configuring the Wiretap MCP server. Defaults to NoMcpSecurity and "/mcp" path

Link copied to clipboard
interface Wiretapped
Link copied to clipboard
fun interface WiretapTarget

Functions

Link copied to clipboard