Fix typos in WebSocket JSDoc

This commit is contained in:
David Rowe 2019-12-17 09:20:18 +13:00
parent 025c136561
commit 3aaeba76a9
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ void WebSocketClass::handleOnClose() {
* @param {WebSocket.SocketError} error - The error.
*/
/**jsdoc
* Information on a socket error.
* <p>The type of socket error.</p>
* <table>
* <thead>
* <tr><th>Value</th><th>Name</th><th>Description</th></tr>

View file

@ -17,9 +17,9 @@
#include <QWebSocket>
/**jsdoc
* Provides a bi-direcctional, event-driven communication session between the script and another WebSocket connection. It is a
* Provides a bi-directional, event-driven communication session between the script and another WebSocket connection. It is a
* near-complete implementation of the WebSocket API described in the Mozilla docs:
* <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket">https://developer.mozilla.org/en-US/docs/Web/API/WebSocket</a>.</p>
* <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket">https://developer.mozilla.org/en-US/docs/Web/API/WebSocket</a>.
*
* <p>Constructed by <code>new WebSocket(...)</code> in Interface, client entity, avatar, and server entity scripts, or the
* {@link WebSocketServer} class in server entity and assignment client scripts.