import { HTTP } from "https://deno.land/x/keywork@v6.2.0/mod.ts";
const { castToResponse } = HTTP;
Infers the appropriate Response constructor for the given ResponseLike
body.
While the Keywork#Router.RequestRouter | RequestRouter
automatically
converts returned values via castToResponse
.
Parameters
responseLike: ResponseLike