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