write

open override fun write(response: HttpResponse, cacheKey: String): HttpResponse

Store the response with the given cacheKey into the cache. A new HttpResponse is returned whose body, when read, will write the contents to the cache. The response's body is not consumed nor closed.