HTTPSocket Timeout

I’m using the new Xojo.Net.HTTPSocket for a simple GET request. Am I able to set a timeout? If not, what is the default?

Thanks!

No. Xojo.Net.HTTPSocket is asynchronous. You have to use the event handlers to process the response.

Okay, thank you. I noticed there is a discount method. Does that need to be called after a request is complete? Or will it disconnect automatically?