Skip to main content
Module

x/http_fns/logger.ts>logStatusAndContentType

A bunch of functions for building HTTP servers
Go to Latest
function logStatusAndContentType
import { logStatusAndContentType } from "https://deno.land/x/http_fns@v0.0.27/logger.ts";

A ResponseInterceptor that logs the Response Status and Content-Type header.

Parameters

req: Request
res: Response | null