Interface ServerSentEvent


@Experimental @NoImplement @MinMuleVersion("4.10.0") public interface ServerSentEvent
Server-sent event (SSE).
Since:
0.12.0
  • Method Details

    • getName

      String getName()
      Returns:
      the event name, the topic of the event.
    • getData

      String getData()
      Returns:
      the full data as string.
    • getId

      Optional<String> getId()
      Returns:
      event id.
    • getRetryDelay

      Optional<Long> getRetryDelay()
      The server may set the reconnection delay.
      Returns:
      the new retry delay, if the server configured it.