MockServer
fun MockServer(acceptDelayMillis: Long, mockServerHandler: MockServerHandler = QueueMockServerHandler())
Content copied to clipboard
Parameters
acceptDelayMillis
: an artificial delay introduced before each accept()
call. Can be used to simulate slow connections.
expect fun MockServer(mockServerHandler: MockServerHandler = QueueMockServerHandler())
Content copied to clipboard