Interface IHttpResponse
Ответ.
Namespace:InfinniPlatform.Http
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface IHttpResponse
Properties
| Improve this Doc View SourceContent
Содержимое тела ответа.
Declaration
Action<Stream> Content { get; set; }
Property Value
Type | Description |
---|---|
Action<Stream> |
ContentType
Тип содержимого тела ответа.
Declaration
string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Заголовок ответа.
Declaration
IDictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.String> |
ReasonPhrase
Описание состояния.
Declaration
string ReasonPhrase { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StatusCode
Код состояния.
Declaration
int StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |