Interface IHttpRequestHeaders
Заголовок запроса.
Namespace:InfinniPlatform.Http
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface IHttpRequestHeaders : IEnumerable<KeyValuePair<string, IEnumerable<string>>>
Properties
| Improve this Doc View SourceContentLength
Размер тела запроса.
Declaration
long ContentLength { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
ContentType
Тип содержимого тела запроса.
Declaration
string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Item[String]
Возвращает значение заголовка по ключу.
Declaration
IEnumerable<string> this[string key] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key |
Property Value
| Type | Description |
|---|---|
| IEnumerable<System.String> |
Keys
Список ключей заголовка.
Declaration
IEnumerable<string> Keys { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<System.String> |
UserAgent
Имя агента пользователя.
Declaration
string UserAgent { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Values
Список значений заголовка.
Declaration
IEnumerable<IEnumerable<string>> Values { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IEnumerable<System.String>> |