Otter SDK Reference
Version:

SerializeResponse(System.IO.Stream stream, object result) Method

Serializes the return value of the ExecuteAsync(System.Threading.CancellationToken cancellationToken) method into the specified stream.

Syntax

public abstract void SerializeResponse(System.IO.Stream stream, object result)

Parameters

stream
Type: System.IO.Stream

The stream to write to.

result
Type: object

The value to serialize.