http4k / org.http4k.servirtium / ServirtiumServer / Replay
@JvmStatic @JvmOverloads fun Replay(name:
String
, storageProvider:
StorageProvider
, options:
InteractionOptions
= Defaults, port:
Int
= 0, serverFn: (
Int
) ->
ServerConfig
= ::SunHttp):
ServirtiumServer
Replay server which will match and replay recorded traffic read from the named Servirtium Markdown file. Incoming requests can be manipulated to ensure that it matches the expected request.