public interface ServerSentEventStreamClient
Modifier and Type | Method and Description |
---|---|
static ServerSentEventStreamClient |
of(HttpClient httpClient)
Creates an SSE client.
|
default Promise<TransformablePublisher<Event<?>>> |
request(java.net.URI uri) |
Promise<TransformablePublisher<Event<?>>> |
request(java.net.URI uri,
Action<? super RequestSpec> action) |
static ServerSentEventStreamClient |
sseStreamClient(io.netty.buffer.ByteBufAllocator byteBufAllocator)
Deprecated.
since 1.4, use
of(HttpClient) . |
static ServerSentEventStreamClient of(HttpClient httpClient)
httpClient
- the underlying HTTP client to use@Deprecated static ServerSentEventStreamClient sseStreamClient(io.netty.buffer.ByteBufAllocator byteBufAllocator)
of(HttpClient)
.Promise<TransformablePublisher<Event<?>>> request(java.net.URI uri, Action<? super RequestSpec> action)
default Promise<TransformablePublisher<Event<?>>> request(java.net.URI uri)