Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Begins an asynchronious GET request and uses the contents to create an object of the specified type. Events will be sent to the message port associated with the object. If this method returns False, the request could not be issued and no events will be delievered. Only supported types are roSyncSpec and roXMLElement.

AsyncCancel() As Boolean

Cancles any outstanding async requests on the roURLEvent object. 

RetainBodyOnError(retain as Boolean) as Boolean

Specifies whether to return the response body when there is an HTTP error response code. If retain is true, roUrlTransfer provides the body and headers of the response even if the HTTP status code indicates that an error occurred (e.g. a 4x or 5xx status code). If retain is false, roUrlTransfer does not provide the body and headers of the response if the HTTP status code indicates that an error occurred. This method returns True on success, and False if it fails. The default behavior of roUrlTransfer  is equivalent to passing False into the method. 

Note
titleNote

If RetainBodyOnError() returns as False, call GetFailureReason() to get details. 

EnableUnsafeAuthentication(enable As Boolean) As Boolean

...