Changeset View
Changeset View
Standalone View
Standalone View
addons/lspclient/lspclientserver.cpp
Context not available. | |||||
247 | auto hdr = QStringLiteral("Content-Length: %1\r\n").arg(sjson.length()); | 247 | auto hdr = QStringLiteral("Content-Length: %1\r\n").arg(sjson.length()); | ||
---|---|---|---|---|---|
248 | // write is async, so no blocking wait occurs here | 248 | // write is async, so no blocking wait occurs here | ||
249 | m_sproc.write(hdr.toLatin1()); | 249 | m_sproc.write(hdr.toLatin1()); | ||
250 | m_sproc.write("Content-Type: application/vscode-jsonrpc; charset=utf-8\r\n\r\n"); | 250 | m_sproc.write("\r\n"); | ||
251 | m_sproc.write(sjson); | 251 | m_sproc.write(sjson); | ||
252 | 252 | | |||
253 | return ret; | 253 | return ret; | ||
Context not available. |