Eggbox
  • Search
  • About
  • Get Started
    • Publishing Pods
    • Writing Documentation
    • Using fanr
  • Sign Up
  • Login
Warning: This page pertains to an older version of BedSheet. Click here for the latest.
  1. Pods
  2. BedSheet 1.4.14
  3. API
  4. HttpStatus

const classafBedSheet::HttpStatus

sys::Obj
  afBedSheet::HttpStatus

(Response Object) - Use to send a generic HTTP Status to the client.

HttpStatus(404, "Page Not Found")
code

Source

const Int code

The HTTP status code.

@see web::WebRes.statusMsg

data

Source

const Obj? data

Custom user data

make

Source

new make(Int statusCode, Str statusMsg := ..., Err? data := null)

msg

Source

const Str msg

The HTTP status message.

@see web::WebRes.statusMsg

toStr

Source

virtual override Str toStr()


Contents

Summary

API

User Guide

Release Notes

Source

  • View Source

Slots

  • code
  • data
  • make
  • msg
  • toStr

 


Contact me about Fantom-Factory at:
-----------------------------

written inwritten inFantomFantom powered bypowered byBedSheetBedSheet
Eggbox v0.2.3.32