Method KeyFromBody()

Assembly: redb.Route.Cache.dll

Key = SHA-256 of the body instead of the explicit key (WSO2 "hash of the request" mode). Only the
body is hashed: the content type and the headers are not part of the key. A stream body is read
to the end for it, and the message continues with its bytes; an object goes through the context's
data format, the way the distributed cache stores it.

public CacheDefinition KeyFromBody()