good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / nhooyr / websocket
Loading
  • Anmol Sethi's avatar
    d432e6ba
    Implement complete close handshake · d432e6ba
    Anmol Sethi authored
    I changed my mind after #103 as browsers include a wasClean event to indicate
    whether the connection was closed cleanly. From my tests, if a server using
    this library prior to this commit initiates the close handshake, wasClean
    will be false for the browser as the connection was closed before it could
    respond with a close frame. Thus, I believe it's necessary to fully implement
    the close handshake.
    
    @stephenyama You'll enjoy this.
    Implement complete close handshake
    Anmol Sethi authored
    I changed my mind after #103 as browsers include a wasClean event to indicate
    whether the connection was closed cleanly. From my tests, if a server using
    this library prior to this commit initiates the close handshake, wasClean
    will be false for the browser as the connection was closed before it could
    respond with a close frame. Thus, I believe it's necessary to fully implement
    the close handshake.
    
    @stephenyama You'll enjoy this.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
websocket_js_test.go 934 B