| Package | Description |
|---|---|
| org.flmelody.core | |
| org.flmelody.core.sse |
| Modifier and Type | Method and Description |
|---|---|
RouterGroup<M> |
AbstractRouterGroup.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function) |
Windward |
Windward.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
T |
Router.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
RouterGroup<M> |
AbstractRouterGroup.sse(String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function) |
Windward |
Windward.sse(String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
T |
Router.sse(String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
| Modifier and Type | Method and Description |
|---|---|
SseEjector |
SseEjector.keepAlive(Long seconds)
Retain Ejector for the specified number of seconds, if you do not set the time the default will
end directly.
|
Copyright © 2024 flmelody. All rights reserved.