HTTPServerResponse.connected

Determines if the underlying connection is still alive.

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

class HTTPServerResponse
@property @safe const
bool
connected
()

See Also

waitForConnectionClose

Meta