Class JsonHttpResponse
Ответ в виде JSON-объекта.
Inherited Members
Namespace:InfinniPlatform.Http
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public sealed class JsonHttpResponse : HttpResponse, IHttpResponse
Constructors
| Improve this Doc View SourceJsonHttpResponse(Object, IJsonObjectSerializer)
Конструктор.
Declaration
public JsonHttpResponse(object content, IJsonObjectSerializer serializer = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | content | Содержимое тела ответа. |
IJsonObjectSerializer | serializer |
Properties
| Improve this Doc View SourceSerializer
Сериализатор объектов.
Declaration
public IJsonObjectSerializer Serializer { get; set; }
Property Value
Type | Description |
---|---|
IJsonObjectSerializer |