wrap
Deprecated
Use 'replaceResponse' instead.
Replace with
import io.ktor.client.call.replaceResponse
Content copied to clipboard
replaceResponse(headers) { content }
Content copied to clipboard
Wrap existing HttpClientCall with new response content and headers.
Warning: The content of the returned call response is non-replayable, so it can be consumed only once. Consider using replaceResponse
instead.