Interface IHttpRequest
Запрос.
Namespace:InfinniPlatform.Http
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface IHttpRequest
Properties
| Improve this Doc View SourceBasePath
Базовый путь запроса.
Declaration
string BasePath { get; }
Property Value
Type | Description |
---|---|
System.String |
Content
Содержимое тела запроса.
Declaration
Stream Content { get; }
Property Value
Type | Description |
---|---|
Stream |
Culture
Региональные параметры запроса.
Declaration
CultureInfo Culture { get; }
Property Value
Type | Description |
---|---|
CultureInfo |
Files
Список файлов запроса.
Declaration
IEnumerable<IHttpRequestFile> Files { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IHttpRequestFile> |
Form
Данные тела запроса.
Declaration
dynamic Form { get; }
Property Value
Type | Description |
---|---|
System.Object |
Headers
Заголовок запроса.
Declaration
IHttpRequestHeaders Headers { get; }
Property Value
Type | Description |
---|---|
IHttpRequestHeaders |
Method
Метод запроса.
Declaration
string Method { get; }
Property Value
Type | Description |
---|---|
System.String |
Parameters
Параметры строки запроса.
Declaration
dynamic Parameters { get; }
Property Value
Type | Description |
---|---|
System.Object |
Path
Путь запроса.
Declaration
string Path { get; }
Property Value
Type | Description |
---|---|
System.String |
Query
Данные строки запроса.
Declaration
dynamic Query { get; }
Property Value
Type | Description |
---|---|
System.Object |
User
Пользователь запроса.
Declaration
IIdentity User { get; }
Property Value
Type | Description |
---|---|
IIdentity |
UserHostAddress
Адрес клиента.
Declaration
string UserHostAddress { get; }
Property Value
Type | Description |
---|---|
System.String |