vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function HTTPServerResponse.connected

Determines if the underlying connection is still alive.

bool connected() scope @property scope @safe const;

Returns true if the remote peer is still connected and false if the remote peer closed the connection.

See Also

waitForConnectionClose

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2017 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.