W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2017

Re: [webrtc-pc] NetworkError event is not defined and might not be needed

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Jan 2017 00:10:11 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-275957789-1485735009-sysbot+gh@w3.org>
@adam-be  The Websocket onClose event handler provides the following 
information:

event.reason, eventWasClean, event.code:

1001    CLOSE_GOING_AWAY
1000    CLOSE_NORMAL
1005    CLOSE_NO_STATUS
1006    CLOSE_ABNORMAL

Note also that in order to provide this information the 
websocket.close method takes code and reason as arguments: 

void close(in optional unsigned long code, in optional DOMString 
reason);

So we have agreement that we want to add optional arguments to 
RTCDataChannel.close()?

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/526#issuecomment-275957789 
using your GitHub account
Received on Monday, 30 January 2017 00:10:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:41 UTC