libcURL.EasyHandle.RequestInitiated - charonn0/RB-libcURL GitHub Wiki
libcURL.EasyHandle.RequestInitiated
Event Signature
Event Function RequestInitiated(RemoteIP As String, LocalIP As String, RemotePort As Integer, LocalPort As Integer) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
| RemoteIP | String | The IP address of the remote host. |
| LocalIP | String | The IP address of the local network adapter being used. |
| RemotePort | Integer | The port number on the remote host. |
| LocalPort | Integer | The port number on the local network interface being used. |
Return value
Return True to cancel the request.
Remarks
This event handles the PREREQFUNCTION callback. It is raised after the connection is established but before libcurl begins sending the request. If the request results in one or more redirects then this event is raised for each redirect as well.