메소드 | 설명 | |
---|---|---|
AJSONClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, |
Create an abstract HTTP/JSON client.
|
메소드 | 설명 | |
---|---|---|
SendJSONError ( System.DateTime Timestamp, Object Sender, Newtonsoft.Json.Linq.JObject JSON ) : void |
Notify that a JSON error occured.
|
public AJSONClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, |
||
ClientId | String | A unqiue identification of this client. |
Hostname | String | The hostname to connect to. |
RemotePort | IPPort | The remote TCP port to connect to. |
RemoteCertificateValidator | RemoteCertificateValidationCallback | A delegate to verify the remote TLS certificate. |
ClientCert | The TLS client certificate to use. | |
HTTPVirtualHost | String | An optional HTTP virtual host name to use. |
UserAgent | String | An optional HTTP user agent to use. |
QueryTimeout | System.TimeSpan | An optional timeout for upstream queries. |
DNSClient | DNSClient | An optional DNS client. |
리턴 | System |
protected SendJSONError ( System.DateTime Timestamp, Object Sender, Newtonsoft.Json.Linq.JObject JSON ) : void | ||
Timestamp | System.DateTime | The timestamp of the error received. |
Sender | Object | The sender of this error message. |
JSON | Newtonsoft.Json.Linq.JObject | The JSON fault/error. |
리턴 | void |