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
bool
constantBuffer;
17
private
readonly
byte
[] data;
18
32
public
HttpxResponseEventArgs
(
IqResultEventArgs
e,
HttpResponse
Response
,
object
State
,
33
double
Version
,
int
StatusCode
,
string
StatusMessage
,
bool
HasData
,
bool
ConstantBuffer
,
34
byte
[]
Data
)
35
: base(e)
36
{
37
this.response =
Response
;
38
this.State =
State
;
39
this.version =
Version
;
40
this.statusCode =
StatusCode
;
41
this.statusMessage =
StatusMessage
;
42
this.hasData =
HasData
;
43
this.constantBuffer =
ConstantBuffer
;
44
this.data =
Data
;
45
}
46
50
public
HttpResponse
HttpResponse
=> this.response;
51
55
public
double
Version
=> this.version;
56
60
public
int
StatusCode
=> this.statusCode;
61
65
public
string
StatusMessage
=> this.statusMessage;
66
70
public
bool
HasData
=> this.hasData;
71
76
public
bool
ConstantBuffer
=> this.constantBuffer;
77
82
public
byte
[]
Data
=> this.data;
83
}
84
}
Waher.Networking.HTTP.HttpResponse
Represets a response of an HTTP client request.
Definition:
HttpResponse.cs:23
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:70
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.HttpxResponseEventArgs
HttpxResponseEventArgs(IqResultEventArgs e, HttpResponse Response, object State, double Version, int StatusCode, string StatusMessage, bool HasData, bool ConstantBuffer, byte[] Data)
Event arguments for HTTPX responses.
Definition:
HttpxResponseEventArgs.cs:32
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.Version
double Version
HTTP version.
Definition:
HttpxResponseEventArgs.cs:55
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.StatusCode
int StatusCode
HTTP status code.
Definition:
HttpxResponseEventArgs.cs:60
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.ConstantBuffer
bool ConstantBuffer
If the contents of the buffer remains constant (true), or if the contents in the buffer may change af...
Definition:
HttpxResponseEventArgs.cs:76
Waher.Networking.XMPP.HTTPX.HttpxResponseEventArgs.StatusMessage
string StatusMessage
HTTP status message.
Definition:
HttpxResponseEventArgs.cs:65
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:82
Waher.Networking.HTTP
Definition:
BrotliContentEncoding.cs:10
Waher.Networking.XMPP.Events
Definition:
AuthorityEventArgs.cs:4
Waher.Networking.XMPP.HTTPX
Definition:
Aes256Getter.cs:12
IoTGateway
Networking
Waher.Networking.XMPP.HTTPX
HttpxResponseEventArgs.cs
Generated by
1.9.5