Skip to content

Documentation / @imvu/client / ClientOptions

Interface: ClientOptions ​

Defined in: packages/client/src/client/Client.ts:26

Properties ​

cacheMaxAge? ​

ts
cacheMaxAge?: number;

Defined in: packages/client/src/client/Client.ts:34

How long a cached resource may answer fetch before it is read again, in ms. Defaults to no limit: cached copies are reused until evicted, invalidated over IMQ (stale), refreshed, or fetched with { force: true }.


maximumStrongDocuments? ​

ts
maximumStrongDocuments?: number;

Defined in: packages/client/src/client/Client.ts:28

Maximum number of documents retained strongly in the hot LRU.


realtimeManagerFactory? ​

ts
realtimeManagerFactory?: RealtimeManagerFactory;

Defined in: packages/client/src/client/Client.ts:36

Test/custom transport hook; defaults to the real IMQ manager.


xmlrpc? ​

ts
xmlrpc?: XmlRpcCoordinatorOptions;

Defined in: packages/client/src/client/Client.ts:37

Released under the MIT License.