Skip to main content
Module

x/superdeno/mod.ts>IResponse

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