Property | Type | Description | |
---|---|---|---|
DefaultQueryTimeout | System.TimeSpan | ||
DefaultRemotePort | IPPort |
Method | Description | |
---|---|---|
AHTTPClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, |
Create an abstract HTTP client.
|
|
Dispose ( ) : void |
Dispose this object.
|
Method | Description | |
---|---|---|
SendException ( System.DateTime Timestamp, Object Sender, |
Notify that an exception occured.
|
|
SendHTTPError ( System.DateTime Timestamp, Object Sender, HTTPResponse HttpResponse ) : void |
Notify that an HTTP error occured.
|
public AHTTPClient ( 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. |
return | System |
protected SendException ( System.DateTime Timestamp, Object Sender, |
||
Timestamp | System.DateTime | The timestamp of the exception. |
Sender | Object | The sender of this exception. |
Exception | The exception itself. | |
return | void |
protected SendHTTPError ( System.DateTime Timestamp, Object Sender, HTTPResponse HttpResponse ) : void | ||
Timestamp | System.DateTime | The timestamp of the error received. |
Sender | Object | The sender of this error message. |
HttpResponse | HTTPResponse | The HTTP response related to this error message. |
return | void |
public static TimeSpan,System DefaultQueryTimeout | ||
return | System.TimeSpan |