Skip to main content
Version: v1

IClientConfiguration Interface

Key value store of service configuration properties provided to the client as part of connection

Signature

export interface IClientConfiguration

Properties

Property Modifiers Type Description
blockSize number
maxMessageSize number
noopCountFrequency optional number Set min op frequency with which noops would be sent in case of an active connection which is not sending any op. See IClientConfiguration#noopTimeFrequency for more details. 'Infinity' will disable this feature and if no value is provided, the client choses some reasonable value.
noopTimeFrequency optional number noopTimeFrequency & noopCountFrequency control how often a client with "write" connection needs to send noop messages in case no other ops are being sent. Any op (including noops) result in client communicating its reference sequence number to the relay service, which can recalculate MSN based on new info. Clients send noops when either noopTimeFrequency ms elapsed from receiving the last op or when receiving noopCountFrequency ops and only if the client did not have a chance to communicate its reference sequence number via regular ops. 'Infinity' will disable this feature and if no value is provided, the client choses some reasonable value.
summary ISummaryConfiguration

Property Details

blockSize

Signature

blockSize: number;

Type: number

maxMessageSize

Signature

maxMessageSize: number;

Type: number

noopCountFrequency

Set min op frequency with which noops would be sent in case of an active connection which is not sending any op. See IClientConfiguration#noopTimeFrequency for more details. 'Infinity' will disable this feature and if no value is provided, the client choses some reasonable value.

Signature

noopCountFrequency?: number;

Type: number

noopTimeFrequency

noopTimeFrequency & noopCountFrequency control how often a client with "write" connection needs to send noop messages in case no other ops are being sent. Any op (including noops) result in client communicating its reference sequence number to the relay service, which can recalculate MSN based on new info. Clients send noops when either noopTimeFrequency ms elapsed from receiving the last op or when receiving noopCountFrequency ops and only if the client did not have a chance to communicate its reference sequence number via regular ops. 'Infinity' will disable this feature and if no value is provided, the client choses some reasonable value.

Signature

noopTimeFrequency?: number;

Type: number

summary

Signature

summary: ISummaryConfiguration;

Type: ISummaryConfiguration