0

cURL - Structuring request to validate server sent events talks about how to use curl to test, but I want to know how to make it so that after it gets a specified number of events to stop curl and continue on with the rest of the script?

Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
  • curl is great for interactive troubleshooting of SSE, but my hunch is that this kind of automated control isn't possible, and you'll need to write a proper client script. Are you using Linux and Bash? Maybe there is some trick there to kill a program after so many seconds? – Darren Cook Nov 08 '22 at 07:59

0 Answers0