Interface IHttpRequest
Represents an abstract HTTP request.
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IHttpRequest
Properties
Headers
The headers sent by the client.
Declaration
IReadOnlyDictionary<string, string> Headers { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<String, String> |
Method
The HTTP method.
Declaration
string Method { get; }
Property Value
Type | Description |
---|---|
String |
OriginalRequest
The original request.
Declaration
object OriginalRequest { get; }
Property Value
Type | Description |
---|---|
Object |
Payload
The body of the request.
Declaration
Stream Payload { get; }
Property Value
Type | Description |
---|---|
Stream |
QueryParameters
The query parameters of the request.
Declaration
IReadOnlyDictionary<string, string> QueryParameters { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<String, String> |
RemoteEndPoint
The IP of the client.
Declaration
IPEndPoint RemoteEndPoint { get; }
Property Value
Type | Description |
---|---|
IPEndPoint |