PayloadSerializer.ContentType Property

Definition

Used to specify what type of content will be in the payload.

public abstract string ContentType { get; }
member this.ContentType : string
Public MustOverride ReadOnly Property ContentType As String

Property Value

A string representing the content type to use when sending a payload.

Remarks

This can be free-form but should adhere to standard MIME types, for example: "application/json".

Applies to