MockServer

fun MockServer(acceptDelayMillis: Long, mockServerHandler: MockServerHandler = QueueMockServerHandler())

Parameters

acceptDelayMillis

: an artificial delay introduced before each accept() call. Can be used to simulate slow connections.


actual fun MockServer(mockServerHandler: MockServerHandler)
expect fun MockServer(mockServerHandler: MockServerHandler = QueueMockServerHandler())
actual fun MockServer(mockServerHandler: MockServerHandler)
actual fun MockServer(mockServerHandler: MockServerHandler)