Class wwScriptingResponse

The wwScripting Response class provides Response class functionality to the script code embedded into the wwScripting class. This class allows the script user to access Response functions similar to the core Web Connection script features, so Response.Write, Response.Clear etc. are available. This class comes in two flavors:

  • wwScriptingResponse
    Provides base response behavior but without support for HTTP headers. This is the default.

  • wwScriptingHttpResponse
    Provides the base functionality and adds the HTTP header behavior.

Class Members

MemberDescription

Clear

Clears all the output in the current response.

o.Clear()

End

Ends response output. When called all further calls to the response object do nothing.

o.End()

GetOutput

Returns the output from the Response object or the full script Response.

o.GetOutput()

Write

The core Write method for the Response object. Use this method to write output from within a script block.

o.Write(lvExpression)

lResponseEnded

flag that stops all further output into response

Requirements

Assembly: wwscripting.prg

© West Wind Technologies, 1996-2019 • Updated: 07/14/15
Comment or report problem with topic