Fan

 

class

webappClient::HttpRes

sys::Obj
  webappClient::HttpRes
//
// Copyright (c) 2009, Brian Frank and Andy Frank
// Licensed under the Academic Free License version 3.0
//
// History:
//   8 Jan 09  Andy Frank  Creation
//

**
** HttpRes models the response side of an XMLHttpRequest instance.
**
@javascript
class HttpRes
{

  **
  ** The HTTP status code of the response.
  **
  Int status

  **
  ** The response headers.
  **
  Str:Str headers := Str:Str[:]

  **
  ** The content of the response.
  **
  Str content

}