adjust the ReceiveNode docstrings

This commit is contained in:
Erik Krogh Kristensen
2020-01-24 10:06:28 +01:00
parent 2044b4bc82
commit c0af3780c4

View File

@@ -93,7 +93,8 @@ module ClientWebSocket {
/**
* A handler that receives a message using the WebSocket API.
* The "ws" library implements a superset of the WebSocket API, and this class therefore models both WebSocket and "ws".
* The WebSocket API is used both by the WebSocket library in browsers, and the same API is also implemented as part of the "ws" library.
* This class therefore models both the WebSocket library, and a subset of the "ws" library.
*/
private class WebSocketReceiveNode extends ClientWebSocket::ReceiveNode {
WebSocketReceiveNode() {
@@ -108,7 +109,8 @@ module ClientWebSocket {
}
/**
* A handler that receives a message using the API from the "ws" library.
* A handler that receives a message using the API from the "ws" library.
* The "ws" library additionally implements the WebSocket API, which is modeled in the `WebSocketReceiveNode` class.
*/
private class WSReceiveNode extends ClientWebSocket::ReceiveNode {
WSReceiveNode () {