Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
HttpxResponseDataEventArgs.cs
1using System;
2
4{
8 public class HttpxResponseDataEventArgs : EventArgs
9 {
10 private readonly HttpxResponseEventArgs response;
11 private readonly byte[] data;
12 private readonly string streamId;
13 private readonly bool last;
14 private readonly object state;
15
24 public HttpxResponseDataEventArgs(HttpxResponseEventArgs Response, byte[] Data, string StreamId, bool Last, object State)
25 : base()
26 {
27 this.response = Response;
28 this.data = Data;
29 this.streamId = StreamId;
30 this.last = Last;
31 this.state = State;
32 }
33
37 public HttpxResponseEventArgs HttpxResponse => this.response;
38
42 public byte[] Data => this.data;
43
47 public string StreamId => this.streamId;
48
52 public bool Last => this.last;
53
57 public object State => this.state;
58 }
59}
HttpxResponseDataEventArgs(HttpxResponseEventArgs Response, byte[] Data, string StreamId, bool Last, object State)
Event arguments for HTTPX data responses.
object State
State object passed to the original request.