Building42 / Telegraph

Secure Web Server for iOS, tvOS and macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do check if the server is running?

randomiser opened this issue · comments

commented

Hi there,

Very quick question as I can't seem to find anything obvious like this in the API.

How can I quickly check if the server is actually running? I'd expect a simple method like: isServing / isRunning etc to exist.

Cheers,
Matt

Hi, a moment ago I've pushed a commit that adds an isRunning boolean to the Server class.
I'll try to release a new version later today!

Sorry, I totally forgot to release the new version.

Version 0.16 is now available 🎉 !