Class ActivityPubOptions
- Namespace
- ActivityPub.Common.Util
- Assembly
- ActivityPub.Common.dll
Injected into all JSON-LD classes to provide common settings
public class ActivityPubOptions
- Inheritance
-
ActivityPubOptions
- Inherited Members
Properties
RequestContentTypes
Content types to request from remote servers, in priority order. This maps to the Accept header.
public List<string> RequestContentTypes { get; set; }
Property Value
- See Also
ResponseContentTypes
HTTP responses will only be recognized as ActivityPub if they match one of these content types. This maps to the Content-Type header.
public HashSet<string> ResponseContentTypes { get; set; }
Property Value
- See Also