Method Name |
Argument |
Returned Value |
Description |
|
web.URL |
Retrieves request URL. |
|
web.URL |
|
Defines request URL. |
|
|
String |
Retrieves request body. |
|
String |
This object |
Defines request body. |
|
|
String |
Retrieves request host. |
|
String |
This object |
Defines request host. |
|
|
String |
Retrieves request port. |
|
String |
This object |
Defines request port. |
|
|
String |
Retrieves a cookie for the location specified by a URL. Cookies parameters are specified by position. |
|
String |
This object |
Defines a cookie to be sent along with the rest of the HTTP headers. Cookies must be sent before any output from your script (this is a protocol restriction). |
|
|
String |
Retrieves request content type. |
|
String |
This object |
Defines request content type. |
|
|
String |
Returns the type of method used by request (POST/GET). |
|
String |
This object |
Defines the type of method to be used for the request. |
|
|
Session |
Returns the current session associated with this request, or if the request does not have a session, creates one. |
|
Session |
This object |
Defines sessions that should be used by request. If a session already exists, it is overwritten. |
|
String |
Returns the schema used by request. |
||
String |
This object |
Defines the schema to be used for the request. |
|
String |
Returns the path to the resource used by request. |
||
String |
This object |
Defines the path to be used for the request. |
|
String |
Returns the query used by request. |
||
String |
This object |
Defines the query to be used for the request. |
|
String |
Returns the fragment used by request. |
||
String |
This object |
Defines the fragment to be used for the request. |
|
Key (String), Value (String) |
This object |
Adds the parameter to the request. Used for setting a response timeout. |
|
Name (String), Value (String) |
This object |
Adds the authentication parameter to the request. |
|
Key (String), Value (String) |
This object |
Adds the header to the request. |
|
web.Session (optional) |
web.Response |
Performs request to the server`s side. |
|
web.Session (optional) |
Future |
Performs the request asynchronously to the server`s side. Returns the Future object. |
|
performStream |
web.Session (optional) |
Stream |
Performs the request asynchronously to the server`s side. Returns the Stream object. |
web.Request |
Is a static method that creates a request object. |
||
web.Url |
web.Request |
Is a static method that creates a request object with a defined PUT method. |
|
web.Url |
web.Request |
Is a static method that creates a request object with a defined GET method. |
|
web.Url |
web.Request |
Is a static method that creates a request object with a defined POST method. |