Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/momentum/core/decorators/head.ts>Head

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
function Head
import { Head } from "https://deno.land/x/momentum@v0.8.2/core/decorators/head.ts";

Decorator that marks a controller method as a HEAD action

Returns

MethodDecorator

Decorator that marks a controller method as a HEAD action with a route

Parameters

route: string

Returns

MethodDecorator