method IResponse.text
IResponse.text(body: string): HandlerResult

Sends a plain-text response.

Parameters

body: string

The response text

Return Type

The handler result

Usage

import { type IResponse } from "common/src/index.ts";