Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::LocalTransport::Connection Struct Reference

Per-connection state: the socket, its session, and data not yet split into lines. More...

Public Member Functions

void write (const QJsonDocument &json) const
 Writes json as one line, if the socket is still connected.

Public Attributes

QPointer< QLocalSocket > socket
 The connection (null once it is gone).
QString sessionId
 The session this connection carries.
QByteArray buffer
 Received bytes after the last complete line.

Detailed Description

Per-connection state: the socket, its session, and data not yet split into lines.


The documentation for this struct was generated from the following file: