IBMStreams com.ibm.streamsx.inet Toolkit > com.ibm.streamsx.inet 3.3.0 > com.ibm.streamsx.inet.http > C++ Native Functions
HTTP DELETE on the given url, using the username and password, if present. It follows redirects. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to delete
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned error code
the received http message body
HTTP DELETE on the given url, using the username and password, if present. It follows redirects. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to delete
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP DELETE on the given url, using the username and password, if present and certificates. It follows redirects. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html. Certificate/Key type of P12 requires libcurl to be compiled with OpenSSL.
the url to delete
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
if this string is not empty, this is the absolute path to a certificate file sent to the server
if this string is not empty, this is the cert file type (PEM, P12)
if this string is not empty, this is the absolute path to a private key file to be sent to the server
if this string is not empty, this is the key file type (PEM, P12)
if this string is not empty, this is the password for the private key
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP GET on the given url, using the username and password, if present. It follows redirects. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to get
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned error code
the received http message body
HTTP GET on the given url, using the username and password, if present. It follows redirects. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to get
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP GET on the given url, using the username and password, if present. It follows redirects. Received header information are provided in headers parameter. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to get
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
the received http message body
HTTP GET on the given url, using the username and password, if present. It follows redirects. Received header information are provided in headers parameter. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the url to get
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP GET on the given url, using the username and password, if present, and using certificates/private keys. It follows redirects. Received header information are provided in headers parameter. If there is an error, a non-zero is returned by error. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html. Note: Certificate and key file types of P12 are supported only if libcurl is compiled with OpenSSL (run curl --version to see which library is supported).
the url to get
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
if this string is not empty, this is the absolute path to a certificate file sent to the server
if this string is not empty, this is the cert file type (PEM, P12)
if this string is not empty, this is the absolute path to a private key file to be sent to the server
if this string is not empty, this is the key file type (PEM, P12)
if this string is not empty, this is the password for the private key and certificate file
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP POST data to the given url using the username and password (if non-empty). Does not follow redirects. Headers are returned in the headers list. Error is set to non-zero if there is an error. The result of the POST is returned as an rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to post
the url to post
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
the received http message body
HTTP POST data to the given url using the username and password (if non-empty). Does not follow redirects. Headers are returned in the headers list. Error is set to non-zero if there is an error. The result of the POST is returned as an rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to post
the url to post
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP POST data to the given url using the username and password (if non-empty). Uses certificates and private key for SSL. Does not follow redirects. Headers are returned in the headers list. Error is set to non-zero if there is an error. The result of the POST is returned as an rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to post
the url to post
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
if this string is not empty, this is the absolute path to a certificate file sent to the server
if this string is not empty, this is the cert file type (PEM, P12)
if this string is not empty, this is the absolute path to a private key file to be sent to the server
if this string is not empty, this is the key file type (PEM, P12)
if this string is not empty, this is the password for the private key
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP PUT data to the given url using the username and password given if not empty. Does not follow redirects. Headers are returned in the headers list, error is set to a non-zero if there is an error, and the result of the PUT is returned in the rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to put
the url to put
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
the received http message body
HTTP PUT data to the given url using the username and password given if not empty. Does not follow redirects. Headers are returned in the headers list, error is set to a non-zero if there is an error, and the result of the PUT is returned in the rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to put
the url to put
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
HTTP PUT data to the given url using the username and password given if not empty. Does not follow redirects. Headers are returned in the headers list, error is set to a non-zero if there is an error, and the result of the PUT is returned in the rstring. Errorcodes see in https://curl.haxx.se/libcurl/c/libcurl-errors.html
the content to put
the url to put
if this list is not emtpy, the list is passed to the server as HTTP Headers
if this string is not empty, this user name is passed to to the server
if this string is not empty, this password is passed to the server
if this string is not empty, this is the absolute path to a certificate file sent to the server
if this string is not empty, this is the cert file type (PEM, P12)
if this string is not empty, this is the absolute path to a private key file to be sent to the server
if this string is not empty, this is the key file type (PEM, P12)
if this string is not empty, this is the password for the private key
the returned header data
the returned error code
This is the maximum time in seconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations. Default timeout is 0 (zero) which means it never times out.
This is the maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once it has connected, this option is of no more use. Set to zero to switch to the default built-in connection timeout - 120 seconds.
the received http message body
Decode a URL encoded rstring.
URL encode the given rstring.