Class ReceivedHttpRequest
Notification sent by the webserver when a new HTTP request is received
Inherited Members
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
public sealed class ReceivedHttpRequest
Properties
Body
Body content as plain text or the filename where the body payload was saved if IsUploadRequest is true
Declaration
public string Body { get; set; }
Property Value
Type | Description |
---|---|
string |
ContentType
Type of the body content
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
List of HTTP header pairs
Declaration
public Dictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
Queries
List of HTTP query pairs
Declaration
public Dictionary<string, string> Queries { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
SessionId
Identifier of the corresponding user session. This is -1 if it is an anonymous request
Declaration
public int SessionId { get; set; }
Property Value
Type | Description |
---|---|
int |