Returns the response code for the specified http url connection object.
Syntax
getResponseCode( httpurlconnection )
httpurlconnection.getResponseCode( )
Parameters
httpurlconnection
|
the http url connection object to use.
|
Returns
integer
|
the http response code.
-1 if none.
|
Example
status = ucon.getResponseCode( )
|