function etag.factoryimport { etag } from "https://deno.land/x/oak@v12.1.0/mod.ts"; const { factory } = etag; factory<S extends State = Record<string, any>>(options?: ETagOptions): Middleware<S>Create middleware that will attempt to decode the response.body into something that can be used to generate an ETag and add the ETag header to the response. Type ParametersoptionalS extends State = Record<string, any>Parametersoptionaloptions: ETagOptionsReturnsMiddleware<S>