Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

CURLNMBS.GetInfoHTTPAuthAvail as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: A bitmask indicating the authentication method(s) available.
Notes:
The Lasterror property is set. 0 for success.
The meaning of the bits is explained in the HTTPAuth option.
CURLNMBS.GetInfoHTTPConnectCode as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The last received proxy response code to a CONNECT request.
Notes:
The Lasterror property is set. 0 for success.
none
CURLNMBS.GetInfoLastSocket as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Receive the last socket used by this CURL session.
Notes:
If the socket is no longer valid, -1 is returned. When you finish working with the socket, the destructor will free the handle as usual and let libCURL close the socket and cleanup other resources associated with the handle. This is typically used in combination with OptionConnectOnly. (Added in 7.15.2)

NOTE: this API is not really working on win64, since the SOCKET type on win64 is 64 bit large while its 'long' is only 32 bits.
CURLNMBS.GetInfoLocalIP as string
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Queries local IP.
Example:
dim c as new CURLNMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check local IP
MsgBox c.GetInfoLocalIP
CURLNMBS.GetInfoLocalPort as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Return the local port of the most recent (primary) connection.
Example:
dim c as new CURLNMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check local IP and port
MsgBox c.GetInfoLocalIP+":"+str(c.GetInfoLocalPort)
CURLNMBS.GetInfoNameLookupTime as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The time, in seconds, it took from the start until the name resolving was completed.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoNumConnects as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: How many new connections libCURL had to create to achieve the previous transfer.
Notes:
The Lasterror property is set. 0 for success.
(only the successful connects are counted)
Combined with RedirectCount you are able to know how many times libCURL successfully reused existing connection(s) or not. See the Connection Options to see how libCURL tries to make persistent connections to save time.
CURLNMBS.GetInfoOSErrno as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The errno variable from a connect failure.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoPreTransferTime as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The time, in seconds, it took from the start until the file transfer is just about to begin.
Notes:
The Lasterror property is set. 0 for success.
This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved.
CURLNMBS.GetInfoPrimaryIP as string
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Return the ip address of the most recent (primary) connection.
Example:
dim c as new CURLNMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check primary IP and port
MsgBox c.GetInfoPrimaryIP+":"+str(c.GetInfoPrimaryport)
CURLNMBS.GetInfoPrimaryPort as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Return the (remote) port of the most recent (primary) connection.
Example:
dim c as new CURLNMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check primary IP and port
MsgBox c.GetInfoPrimaryIP+":"+str(c.GetInfoPrimaryport)
CURLNMBS.GetInfoProxyAuthAvail as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: A bitmask indicating the authentication method(s) available for your proxy authentication.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoRedirectCount as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The total number of redirections that were actually followed.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoRedirectTime as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: the total time, in seconds, it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started.
Notes:
The Lasterror property is set. 0 for success.
RedirectTime contains the complete execution time for multiple redirections. (Added in 7.9.7)
CURLNMBS.GetInfoRedirectURL as string
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The redirection URL.
CURLNMBS.GetInfoRequestSize as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The total size of the issued requests.
Notes:
The Lasterror property is set. 0 for success.
This is so far only for HTTP requests. Note that this may be more than one request if FOLLOWLOCATION is true.
CURLNMBS.GetInfoResponseCode as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The last received HTTP or FTP code.
Notes:
The Lasterror property is set. 0 for success.
This will be zero if no server response code has been received. Note that a proxy's CONNECT response should be read with GetInfoHTTPConnectCode and not this.

With HTTP transfer, a successful transfer reports 200 here. If the page is not found, you get 404. Or any other HTTP Response code.
CURLNMBS.GetInfoRTSPClientCSEQ as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Query RTSP Client sequence counter.
CURLNMBS.GetInfoRTSPCSEQRecv as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Query RTSP sequence counter received.
CURLNMBS.GetInfoRTSPServerCSEQ as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Query RTSP Server sequence counter.
CURLNMBS.GetInfoRTSPSessionID as string
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 15.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Query RTSP session ID.
CURLNMBS.GetInfoSizeDownload as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The total amount of bytes that were downloaded.
Notes:
The Lasterror property is set. 0 for success.
The amount is only for the latest transfer and will be reset again for each new transfer.
CURLNMBS.GetInfoSizeUpload as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The total amount of bytes that were uploaded.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoSpeedDownload as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The average download speed that CURL measured for the complete download.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoSpeedUpload as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The average upload speed that CURL measured for the complete upload.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoSSLEngines as CURLNListMBS
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Receive a linked-list of OpenSSL crypto-engines supported.
Notes:
The Lasterror property is set. 0 for success.
Note that engines are normally implemented in separate dynamic libraries. Hence not all the returned engines may be available at run-time.
CURLNMBS.GetInfoSSLVerifyResult as Integer
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: the result of the certification verification that was requested (using the SSLVerifyPeer option).
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.GetInfoStartTransferTime as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: the time, in seconds, it took from the start until the first byte is just about to be transferred.
Notes:
The Lasterror property is set. 0 for success.
This includes the pretransfer time and also the time the server needs to calculate the result.
CURLNMBS.GetInfoTotalTime as Double
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 9.8, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The total time in seconds for the previous transfer, including name resolving, TCP connect etc.
Notes: The Lasterror property is set. 0 for success.
CURLNMBS.OpenMTInputFile(file as folderitem, Offset as Integer = 0) as boolean
method, CURL, MBS CURL Plugin (CURLN), class CURLNMBS,
Plugin version: 11.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: Opens input file for reading data while PerformMT runs.
Notes:
The read event is not called with PerformMT.
Offset is helpful for HTTP PUT requests with range, so you can start with an offset.
With 15.2 version of plugin, this also works with Perform.

Previous items Next items

The items on this page are in the following plugins: MBS CURL Plugin.




Links
MBS Xojo Chart Plugins