...
...
...
...
...
...
...
...
...
...
...
...
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
...
...
...
...
...
...
...
...
...
...
...
...
title | Example |
---|
...
...
If the "re" and "ext" parameters are absent, the filter will match everything.
...
title | Example |
---|
Name | Applies to | Value |
url_path | All | The path for which the handler method will be used |
user_data |
...
AddGetFromEvent() |
...
AddPostToString() |
...
AddPostToFile() |
...
AddMethodToString() | A user-defined value that can be retrieved by calling roHttpEvent.GetUserData() | |
method | AddMethodFromEvent() | The HTTP method associated with the generated roHttpEvent. The method type can then be retrieved using roHttpEvent.GetMethod(). |
passwords | All | An associative array that contains a mapping between usernames and passwords |
auth | All | The authentication type to use when passwords are set. This value can be either "basic" or "digest". The value defaults to “digest” if not specified. |
realm | All | The authentication realm, which will be displayed by web browsers when prompting for a username and password |
headers |
...
AddGetFromFile() | An associative array that contains arbitrary headers to be included with the automated response |
content_type |
...
AddGetFromFile() | The contents of the "Content-Type" header that is included with the automated response. This may not be set at the same time as the headers member. You can set both the MIME type and character set together (e.g. "text/plain; charset=utf-8") |
body |
...
AddGetFromString() | The response body |
filename |
...
AddGetFromFile() | The path to the file used for the response body. |
destination_directory |
...
AddPostToFile() | The path to the directory used for the temporary file containing the request body. A random filename will be generated automatically. |