Table of Contents

Class ReceivedHttpRequest

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Notification sent by the webserver when a new HTTP request is received

public sealed class ReceivedHttpRequest
Inheritance
ReceivedHttpRequest
Inherited Members

Constructors

ReceivedHttpRequest()

public ReceivedHttpRequest()

Properties

Body

Body content as plain text or the filename where the body payload was saved if IsUploadRequest is true

public string Body { get; set; }

Property Value

string

ContentType

Type of the body content

public string ContentType { get; set; }

Property Value

string

Headers

List of HTTP header pairs

public Dictionary<string, string> Headers { get; set; }

Property Value

Dictionary<string, string>

Queries

List of HTTP query pairs

public Dictionary<string, string> Queries { get; set; }

Property Value

Dictionary<string, string>

SessionId

Identifier of the corresponding user session. This is -1 if it is an anonymous request

public int SessionId { get; set; }

Property Value

int
See Also