I'm using the mock-socket
package to test some websocket connection based code. I close the mocks server by mockServer.stop()
which closes the client connection with a websocket code of 1006. Is there anyway to specify the close code? I haven't found much documentation on this.
Aucun commentaire:
Enregistrer un commentaire