[GH-ISSUE #349] fix:SSE onclose handle #129

Closed
opened 2026-03-16 13:35:53 +03:00 by kerem · 0 comments
Owner

Originally created by @FatDoge on GitHub (Nov 27, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/349

Describe the bug
If u click the stop button in SSE test page, the log info doesn't appear.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'realtime -> sse'
  2. Click on 'start'
  3. Waiting for the connection start
  4. Click on 'stop'
  5. the connection closed but the UI did not change.

Expected behavior
Log the info, change the button.

Screenshots
I have clicked the stop button,and the connection has been closed, but the botton did not change, neither the log info did appear.
image

I have created a PR, just call the this.sse.onclosebefore the sse close handle.(Actually the sse doesn't have the onclose handle)
#347

Originally created by @FatDoge on GitHub (Nov 27, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/349 **Describe the bug** If u click the stop button in SSE test page, the log info doesn't appear. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'realtime -> sse' 2. Click on 'start' 3. Waiting for the connection start 4. Click on 'stop' 5. the connection closed but the UI did not change. **Expected behavior** Log the info, change the button. **Screenshots** I have clicked the stop button,and the connection has been closed, but the botton did not change, neither the log info did appear. ![image](https://user-images.githubusercontent.com/20264312/69690519-1b60e680-1107-11ea-92fc-b4e688eebe2a.png) **I have created a PR, just call the ```this.sse.onclose```before the sse close handle.(Actually the sse doesn't have the onclose handle)** #347
kerem closed this issue 2026-03-16 13:35:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#129
No description provided.