public class MockHttpResponse
| Constructor and Description |
|---|
MockHttpResponse(io.ktor.client.call.HttpClientCall call,
io.ktor.http.HttpStatusCode status,
kotlinx.coroutines.io.ByteReadChannel content,
io.ktor.http.Headers headers) |
| Modifier and Type | Method and Description |
|---|---|
io.ktor.client.call.HttpClientCall |
getCall() |
kotlinx.coroutines.io.ByteReadChannel |
getContent() |
NonExistentClass |
getCoroutineContext() |
io.ktor.http.Headers |
getHeaders() |
io.ktor.util.date.GMTDate |
getRequestTime() |
io.ktor.util.date.GMTDate |
getResponseTime() |
io.ktor.http.HttpStatusCode |
getStatus() |
io.ktor.http.HttpProtocolVersion |
getVersion() |
public MockHttpResponse(io.ktor.client.call.HttpClientCall call,
io.ktor.http.HttpStatusCode status,
kotlinx.coroutines.io.ByteReadChannel content,
io.ktor.http.Headers headers)
public NonExistentClass getCoroutineContext()
public io.ktor.http.HttpProtocolVersion getVersion()
public io.ktor.util.date.GMTDate getRequestTime()
public io.ktor.util.date.GMTDate getResponseTime()
public io.ktor.client.call.HttpClientCall getCall()
public io.ktor.http.HttpStatusCode getStatus()
public kotlinx.coroutines.io.ByteReadChannel getContent()
public io.ktor.http.Headers getHeaders()