Purpose
Specifies or retrieves the timeout value.
Syntax
HTTP.Timeout = "TimeoutValue"
TimeoutValue |
The number of seconds to wait before cancelling the operation. |
Example
Dim WebService as HTTP
WebService.SendBody = "Hello World"
WebService.Timeout = 5
WebService.SendContentType = "application/octet-stream"
WebService.UseChunking = FALSE
WebService.Put("127.0.0.1")
Debug "Return code from HTTP server is " & WebService.Error
Debug "Reply is:" & fcCR & WebService.ReplyBody
Debug "X-SPECIAL header is " & WebService.ReplyHeader("X-SPECIAL")
|