HttpServerSentEventClient
constructor(connectionTimeout: Long = DEFAULT_CONNECTION_TIMEOUT_SECONDS, readTimeout: Long = DEFAULT_READ_TIMEOUT_MINUTES, sseSourceUrl: String)
Parameters
connectionTimeout
The minimum time required to establish HTTP connection to the server.
readTimeout
The amount of time it takes to actually receive the response back from the server.
sseSourceUrl
The URL to Server Sent Events source end point (server).