Interface SseClientFactory
public interface SseClientFactory
A factory to create Server Sent Event clients.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateSseClient(@Nullable URL url) Create a newSseClient.createSseClient(@Nullable URL url, HttpClientConfiguration configuration) Create a newSseClientwith the specified configuration.
-
Method Details
-
createSseClient
-
createSseClient
Create a newSseClientwith the specified configuration. Note that this method should only be used outside the context of an application. Within Micronaut useInjectto inject a client instead- Parameters:
url- The base URLconfiguration- the client configuration- Returns:
- The client
- Since:
- 2.2.0
-