beautypg.com

Ifstring – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 261

background image

253

URL_easy_setopt options:

CURLOPT_CONV_FROM_NETWORK_FUNCTION

CURLOPT_CONV_TO_NETWORK_FUNCTION

CURLOPT_CONV_FROM_UTF8_FUNCTION

-77

CURLE_SSL_CACERT_BADFILE

Could not load CACERT file, missing or wrong format.

-78

CURLE_REMOTE_FILE_NOT_FOUND

Remote file not found.

-79

CURLE_SSH

Error from the SSH layer (this is somewhat generic, so the

error message will be important when this occurs).

-80

CURLE_SSL_SHUTDOWN_FAILED

Failed to shut down the SSL connection.


The following error codes are generated by the system software, and are outside the range of CURL events:
Status

Name

Description

-10001 ERROR_CANCELLED

The transfer request has been cancelled because the

roUrlTransfer instance is out of scope.

-10002 ERROR_EXCEPTION

The callback threw an exception.

GetObject() As Object: Returns the object associated with the event. Currently, this method can only return
an object created in response to an roUrlTransfer.AsyncGetToObject request.

GetFailureReason As String: Returns a description of the failure that occurred.

GetSourceIdentity As Integer: Returns a unique number that can be matched with the value returned by
roUrlTransfer.GetIdentity() to determine where the event came from.

GetResponseHeaders() As roAssociativeArray: Returns an associative array containing all the headers
returned by the server for appropriate protocols (such as HTTP).

GetHash() As String: The hash (digest) of the response body, as specified by the response_pipe{hash:}
parameter of the roUrlTransfer.AsyncMethod() method.

GetPrefix() As String: A number of bytes from the start of the response body. The amount of bytes is
specified with the

response_pipe{prefix_capture:} parameter of the roUrlTransfer.AsyncMethod() method.

The ifString interface provides the following: