Package kong.unirest.core
Interface SseHandler
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SseHandler
The Server Sent Event Handler is used to consume Server Sent Events https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidonComment(String line)comments are piped to this method and then immediately thrown awayvoidonEvent(Event event)Dispatched event
-