Refit.RefitSerializationSettings
Configures serialization for a Refit client.
Gets or sets a value indicating whether the request's body content is buffered before sending.
Defaults to false. When true, Refit loads the content into a buffer before sending it.
Gets or sets how requests' content should be serialized. (defaults to SystemTextJsonContentSerializer).
Gets or sets the IFormUrlEncodedParameterFormatter instance to use (defaults to DefaultFormUrlEncodedParameterFormatter).
Gets or sets how JSON request bodies are serialized (defaults to Default).
Buffered and Streamed use
the synchronous serialization path so the System.Text.Json source-generated fast-path can engage; both require
the configured ContentSerializer to implement ISynchronousContentSerializer.
Gets or sets the content coding applied to every request body (defaults to None).
A [Body] parameter naming its own coding overrides this, and None on the
parameter opts that one method out.
Gets or sets how hard RequestCompression compresses (defaults to Optimal).
Gets or sets the per-coding compressor settings, or null to compress by level alone.
public RefitSerializationSettings()