setPushClientId method

  1. @override
ClientBrowser setPushClientId(
  1. String pushClientId
)

Set a stable push client id, so the broker resumes this client's offline-replay cursor across restarts. Defaults to a per-connection id when unset.

Implementation

@override
ClientBrowser setPushClientId(String pushClientId) {
  config['pushClientId'] = pushClientId;
  return this;
}