HumanReadableHttpExtensions Class

public static class HumanReadableHttpExtensions

No documentation is available.

Methods

NameDescription
AddHttpConverters(HumanReadableSerializerOptions, HumanReadableHttpOptions)Configures how HTTP messages are serialized.

AddHttpConverters(HumanReadableSerializerOptions, HumanReadableHttpOptions)

HumanReadableHttpExtensions.cs

Configures how HTTP messages are serialized.

public static HumanReadableSerializerOptions AddHttpConverters(this HumanReadableSerializerOptions options, HumanReadableHttpOptions httpOptions)

Parameters

options HumanReadableSerializerOptions
The serialization options.
httpOptions HumanReadableHttpOptions
The HTTP options.

Returns

HumanReadableSerializerOptions The serialization options.

Remarks

A later call replaces the configuration of the previous calls, so the defaults of a snapshot serializer can be customized. The options are copied, so changing httpOptions after this call has no effect.