Packages > @fluidframework/protocol-definitions > IClientConfiguration
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 | Server-defined ideal block size for storing snapshots. | |
maxMessageSize | number | Max message size the server will accept before requiring chunking. | |
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 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. |
Property Details
blockSize
Server-defined ideal block size for storing snapshots.
Signature
blockSize: number;
maxMessageSize
Max message size the server will accept before requiring chunking.
Signature
maxMessageSize: 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 noopTimeFrequency for more details. ‘Infinity’ will disable this feature and if no value is provided, the client choses some reasonable value.
Signature
noopCountFrequency?: 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;