@ -1090,8 +1090,8 @@ application-specific `Exception` type by supplying an _exception pattern_ via th
@@ -1090,8 +1090,8 @@ application-specific `Exception` type by supplying an _exception pattern_ via th
@ -238,22 +238,22 @@ allows you to send Strings, or other objects as JSON. For example:
@@ -238,22 +238,22 @@ allows you to send Strings, or other objects as JSON. For example:
// Or an object, which will be transformed into JSON
Person person = ...
Person person = ...
sseBuilder.send(person);
// Customize the event by using the other methods
sseBuilder.id("42")
.event("sse event")
.data(person);
// Customize the event by using the other methods
sseBuilder.id("42")
.event("sse event")
.data(person);
// and done at some point
sseBuilder.complete();
@ -261,23 +261,23 @@ allows you to send Strings, or other objects as JSON. For example:
@@ -261,23 +261,23 @@ allows you to send Strings, or other objects as JSON. For example: