Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/mod.ts>IResponse

Super-agent driven library for testing Deno HTTP servers.
Latest
interface IResponse
import { type IResponse } from "https://deno.land/x/superdeno@4.9.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