|
Methods:
|
| AddURL |
| Description |
Sets Property method with URL location, port and parameters
Example:
Set Http = CreateObject("HTTPASPSNAP.SnapIt")
Http.AddUrl ("http://www.software-components.com/")
|
| Parameters |
Required: URL Location
Optional: Port Number
|
| SetAgentName |
| Description |
Sets a name of your own Agent.
Example:
Http.SetAgentName ("MyOwnAgent")
|
| Parameters |
Required: Agent Name
Optional: N/A
|
| SetDelimiter |
| Description |
Sets Delimiter to be returned in between data
Example:
Http.SetDelimiter ("<-test->")
|
| Parameters |
Required: Delimiter
Optional: N/A
|
| GetData |
| Description |
Returns data back to the client
Example:
Http.GetData
|
| Parameters |
Required: N/A
Optional: N/A
|
| Go |
| Description |
Sends request to server to start processing
Example:
Http.Go
|
| Parameters |
Required: N/A
Optional: N/A
|
| SetTimeOut |
| Description |
Sets Time out for all requests
Example:
Http.TimeOut(25)
|
| Parameters |
Required: Time in seconds
Default: Infinite
Optional: N/A
|
|
Properties:
|
| GetLastError |
| Description |
Returns Last System or Http specific error code
Example:
Set Http = CreateObject("HTTPASPSNAP.SnapIt")
Http.GetLastError=("http") '- returns http error code
Http.GetLastError=("system") '- returns win32 system error code
|
| Parameters |
Required: N/A
Default: http
Optional: N/A
|