A new class to help test with has been added, SSETestServer. Run the main to run the server. You can change the config to your own values and make changes to see it update immediately (after you refresh the /ping) endpoint.
Falls back to SWR refresh strategy (original, default) when SSE not supported
Reconnects after the SSE server disconnects us (every 60 seconds) and whenever the connection is closed (e.g. networking error)
Breaking changes:
GBFeaturesRepository constructor signature and builder methods have changed to split the previous endpoint into clientKey and apiHost.
Adds support for server-sent events.
A new class to help test with has been added,
SSETestServer
. Run themain
to run the server. You can change the config to your own values and make changes to see it update immediately (after you refresh the /ping) endpoint.Breaking changes:
GBFeaturesRepository
constructor signature and builder methods have changed to split the previousendpoint
intoclientKey
andapiHost
.