Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
HttpxResponseEventArgs.cs
1
using
Waher.Networking.HTTP
;
2
using
Waher.Networking.XMPP.Events
;
3
4
namespace
Waher.Networking.XMPP.HTTPX
5
{
9
public
class
HttpxResponseEventArgs
:
IqResultEventArgs
10
{
11
private
readonly
HttpResponse
response;
12
private
readonly
string
statusMessage;
13
private
readonly
double
version;
14
private
readonly
int
statusCode;
15
private
readonly
bool
hasData;
16
private
readonly
byte
[] data;
17
29
public
HttpxResponseEventArgs
(
IqResultEventArgs
e,
HttpResponse
Response
,
object
State
,
30
double
Version
,
int
StatusCode
,
string
StatusMessage
,
bool
HasData
,
byte
[]
Data
)
31
: base(e)
32
{
33
this.response =
Response
;
34
this.State =
State
;
35
this.version =
Version
;
36
this.statusCode =
StatusCode
;
37
this.statusMessage =
StatusMessage
;
38
this.hasData =
HasData
;
39
this.data =
Data
;
40
}
41
45
public
HttpResponse
HttpResponse
=> this.response;
46
50
public
double
Version
=> this.version;
51
55
public
int
StatusCode
=> this.statusCode;
56
60
public
string
StatusMessage
=> this.statusMessage;
61
65
public
bool
HasData
=> this.hasData;
66
71
public
byte
[]
Data
=> this.data;
72
}
73
}
Waher.Networking.HTTP.HttpResponse
Represets a response of an HTTP client request.
Definition:
HttpResponse.cs:21
Waher.Networking.XMPP.Events.IqResultEventArgs
Event arguments for responses to IQ queries.
Definition:
IqResultEventArgs.cs:11
Waher.Networking.XMPP.Events.IqResultEventArgs.State
object State
State object passed to the original request.
Definition:
IqResultEventArgs.cs:165
Waher.Networking.XMPP.Events.IqResultEventArgs.Response
XmlElement Response
IQ Response element.
Definition:
IqResultEventArgs.cs:139
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs
Event arguments for HTTPX responses.
Definition:
HttpxResponseEventArgs.cs:10
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.HasData
bool HasData
If the response has data.
Definition:
HttpxResponseEventArgs.cs:65
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.Version
double Version
HTTP version.
Definition:
HttpxResponseEventArgs.cs:50
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.StatusCode
int StatusCode
HTTP status code.
Definition:
HttpxResponseEventArgs.cs:55
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.StatusMessage
string StatusMessage
HTTP status message.
Definition:
HttpxResponseEventArgs.cs:60
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.Data
byte[] Data
Any binary data directly available in the response. If HasData=true and Data=null,...
Definition:
HttpxResponseEventArgs.cs:71
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.HttpxResponseEventArgs
HttpxResponseEventArgs(IqResultEventArgs e, HttpResponse Response, object State, double Version, int StatusCode, string StatusMessage, bool HasData, byte[] Data)
Event arguments for HTTPX responses.
Definition:
HttpxResponseEventArgs.cs:29
Waher.Networking.HTTP
Definition:
Page.cs:6
Waher.Networking.XMPP.Events
Definition:
CustomPresenceEventArgs.cs:5
Waher.Networking.XMPP.HTTPX
Definition:
Aes256Getter.cs:13
IoTGateway
Networking
Waher.Networking.XMPP.HTTPX
HttpxResponseEventArgs.cs
Generated by
1.9.5