Skip to main content
Module

x/superoak/mod.ts>IResponse

HTTP assertions for Oak made easy via SuperDeno. 🐿 🦕
Go to Latest
interface IResponse
import { type IResponse } from "https://deno.land/x/superoak@4.8.0/mod.ts";

Properties

accepted: boolean
badRequest: boolean
body: any
charset: string
clientError: boolean
error: false | HTTPError
files: any
forbidden: boolean
header: Header
headers: Header
info: boolean
noContent: boolean
notAcceptable: boolean
notFound: boolean
ok: boolean
redirect: boolean
serverError: boolean
status: number
statusCode: number
statusType: number
statusText: string
text: string
type: string
unauthorized: boolean
xhr: XMLHttpRequest
redirects: string[]

Methods

get(header: string): HeaderValue