<PackageReference Include="Refit" Version="15.0.0-beta.1" />

Refit.BodyAttribute

public sealed class BodyAttribute : Attribute
Set a parameter to be sent as the HTTP request's body.
public bool? Buffered { get; }

Gets the buffered.

Gets the serialization method.

public BodyAttribute()

Initializes a new instance of the BodyAttribute class.

public BodyAttribute(bool buffered)

Initializes a new instance of the BodyAttribute class.

public BodyAttribute(BodySerializationMethod serializationMethod, bool buffered)

Initializes a new instance of the BodyAttribute class.

public BodyAttribute(BodySerializationMethod serializationMethod)

Initializes a new instance of the BodyAttribute class.