KETTLE-84: Add onclose event to kettle.test.request.ws

Metadata

Source
KETTLE-84
Type
Improvement
Priority
Major
Status
Resolved
Resolution
Fixed
Assignee
Philip Tchernavskij
Reporter
Philip Tchernavskij
Created
2020-05-25T17:55:07.602-0400
Updated
2020-06-09T16:14:47.360-0400
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

kettle.test.request.ws is a wrapper for the ws library's WebSocket object. It currently does not wrap the onclose event, which enables clients to listen and react to the WebSocket being closed by the server. The wrapper grade should be extended with an onClose event.