WebResponse
The WebResponse object allows for a simple way of responding to client requests.
Constructors
|
Constructor
|
Initializes a new instance of the WebResponse class.
Arguments:
(void)
(CurrentRequest, CurrentResponse, CurrentSystemOutput)
|
Methods
|
AddHeader
|
Add headers to the response with the specified string key and value arguments.
|
|
ClearCookies
|
Deletes cookies.
Arguments:
(void)
(Path)
(Path, Domain)
|
|
ClearSession
|
Deletes all sessions.
|
|
Cookies
|
Creates a cookie.
Arguments:
(Key, Value)
(Key, Value, Minutes)
(Key, Value, Minutes, Path)
(Key, Value, Minutes, Path, Domain)
(Key, Value, Minutes, Path, Domain, Secure)
|
|
End
|
Terminates the connection with the client.
|
|
Finalize
|
Used to determine whether a redirect headers or data is written to the connection before the connection is terminated.
|
|
Redirect
|
Writes a redirect header to the connection with the specified value argument.
|
|
Session
|
Creates a new session with the specified string key and value arguments.
|
|
Write
|
Writes the specified data to the connection.
|
Properties
|
RedirectURL
|
Get or set the URL that is used for redirection in this instance. |
|