Table of Contents

Method AppendIfChanged

Namespace
Oscova.Agents.Middleware
Assembly
Oscova.Agents.dll

AppendIfChanged(IList<AgentRequestEnvelope>, IEnumerable<ChatMessage>, ChatOptions?, int)

Captures the request and appends it when it differs from the immediately preceding envelope.

public static bool AppendIfChanged(IList<AgentRequestEnvelope> sink, IEnumerable<ChatMessage> messages, ChatOptions? options, int sequenceOffset = 0)

Parameters

sink IList<AgentRequestEnvelope>
messages IEnumerable<ChatMessage>
options ChatOptions?
sequenceOffset int

Returns

bool