Method HttpEndpoint():isListening() Professional

Determines if the HttpEndpoint is currently listening.

Syntax
:isListening() --> lIsListening
Return

The method returns true (.T.) if the HttpEndpoint is listening otherwise false (.F.)

Description

The method returns true (.T.) if the HttpEndpoint is listening at :address and :port. A HttpEndpoint instance starts listening with :start() and ends listening with :stop(). The method :isListening() returns false (.F.) in case the HttpEndpoint is not listening due to an incorrect IP address, an incorrect hostname or because the HttpEndpoint was not started.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.