Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

heartbeat

import { heartbeat } from "https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/heartbeat.ts";

Parse a heartbeat. Also creates a server incase it doesn't exist. Can be either POST or GET. Parses both.

async function heartbeat(req: Request, conn: ConnInfo): Promise<Response>;
§
heartbeat(req: Request, conn: ConnInfo): Promise<Response>
[src]

§Parameters

§
req: Request
[src]

§Return Type

§
Promise<Response>
[src]

A response containing a error code or a play-link.