Class Remote
public class Remote
- Inheritance
-
Remote
- Inherited Members
Constructors
Fields
Methods
- FetchCredentials()
Get credentials for PowerSync. This should always fetch a fresh set of credentials - don't use cached values.
- GetCredentials()
Get credentials currently cached, or fetch new credentials if none are available. These credentials may have expired already.
- InvalidateCredentials()
Immediately invalidate credentials. This may be called when the current credentials have expired.
- PostStreamRaw(SyncStreamOptions)
Posts to the stream endpoint and returns a raw NDJSON stream that can be read line by line.
- PrefetchCredentials()
Fetch a new set of credentials and cache it. Until this call succeeds, GetCredentials will still return the old credentials. This may be called before the current credentials have expired.