|
This page last changed on Mar 28, 2010 by ccnet-doc-gen.
HTTP Settings
The settings for an HTTP request.
Version
Available from version 1.5
Examples
<httpRequest>
<uri>http://somewhere.com</uri>
</httpRequest>
<httpRequest>
<method>GET</method>
<uri>http://somewhere.com/</uri>
<useDefaultCredentials>false</useDefaultCredentials>
</httpRequest>
Configuration Elements
| Element |
Description |
Type |
Required |
Default |
Version |
| body |
The body of the request to send. |
String |
No |
None |
1.5 |
| credentials |
The credentials to use in the request. |
NetworkCredential |
No |
None |
1.5 |
| headers |
The HTTP headers to send. |
HTTP Request Header array |
No |
None |
1.5 |
| method |
The method to use. This can be any valid HTTP method, e.g. GET, POST, etc. |
String |
No |
GET |
1.5 |
| readWriteTimeout |
The read/write timeout period. |
Timeout Configuration |
No |
None |
1.5 |
| sendFile |
A file to send in the request. |
String |
No |
None |
1.5 |
| timeout |
The timeout period before cancelling the request. |
Timeout Configuration |
No |
None |
1.5 |
| uri |
The URL to make the request to. |
Uri |
Yes |
n/a |
1.5 |
| useDefaultCredentials |
Whether to use the default credentials or not. |
Boolean |
No |
false |
1.5 |
 | Automatically Generated
Documentation generated on Sunday, 28 Mar 2010 at 8:03:18 PM
Using assembly version 1.6.7027.1 |
|