setRequestLine
void request.setRequestLine ( String requestMethod, String url, String httpVersion )
Description
Manually set the request line.
Parameters
- requestMethod HTTP request type, as a string.
- url Valid uri, as a string.
- httpVersion HTTP version, as a string.
Return Values
Returns void.
Change Log
Version |
Description |
4.5 |
Available for all editions. |
Examples
Set Request Line
// Sets the request line on the request
request.setRequestLine( "GET" , "http://somesite.com/somepage.html", "HTTP/1.1");