toCached method

Converts AliceHttpResponse to CachedAliceHttpResponse.

Implementation

CachedAliceHttpResponse toCached() => CachedAliceHttpResponse(
  status: status,
  size: size,
  time: time,
  body: body,
  headers: headers,
);