QtCraft API C++ classes QML types Handbook

QcSessionEvent::Closed Struct

struct QcSessionEvent::Closed

The connection closed; error is the protocol error or the transport's reason (may be empty). More...

Public Variables

bool byPeer
QString error

Detailed Description

Member Variable Documentation

bool Closed::byPeer

The server closed the connection (QcTransport::closedByPeer()).

QString Closed::error

Why it closed; may be empty.