public class AblyRest extends AblyBase
AblyBase.Channels| Constructor and Description |
|---|
AblyRest(ClientOptions options)
Instance the Ably library with the given options.
|
AblyRest(java.lang.String key)
Instance the Ably library using a key only.
|
onAuthError, onAuthUpdated, onClientIdSet, publishBatch, publishBatchAsync, request, requestAsync, stats, statsAsync, time, timeAsyncpublic AblyRest(java.lang.String key)
throws AblyException
key; - String key (obtained from application dashboard)AblyExceptionpublic AblyRest(ClientOptions options) throws AblyException
options: - see ClientOptions for optionsAblyException