Companion

object Companion

Functions

Link copied to clipboard
fun Disk(baseDir: String = ".", shouldStore: (HttpMessage) -> Boolean = { true }): ReadWriteStream

Serialise and replay HTTP traffic to/from the FS in order.

Link copied to clipboard
fun Memory(stream: MutableList<Pair<Request, Response>> = mutableListOf(), shouldStore: (HttpMessage) -> Boolean = { true }): ReadWriteStream

Serialise and replay HTTP traffic to/from Memory in order.