Module

x/alosaur/src/models/mod.ts>AlosaurResponse

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
class AlosaurResponse
import { AlosaurResponse } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/models/mod.ts";

Properties

private
notRespond: boolean
optional
body: ResponseBody
readonly
headers: Headers
optional
result: ActionResult | Response | any
optional
status: number

Methods

Merge results before send from server

Get current response object

isNotRespond(): boolean

It is necessary to return the rest of the requests by standard Can be uses in WebSocket and SSE middlewares

import AlosaurResponse
import { AlosaurResponse } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/models/mod.ts";