C# 클래스 org.GraphDefined.Vanaheimr.Hermod.SOAP.AHTTPClient

An abstract base class for all HTTP clients.
상속: IDisposable
파일 보기 프로젝트 열기: Vanaheimr/Hermod

공개 프로퍼티들

프로퍼티 타입 설명
DefaultQueryTimeout System.TimeSpan
DefaultRemotePort IPPort

공개 메소드들

메소드 설명
AHTTPClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, X509Certificate ClientCert = null, String HTTPVirtualHost = null, String UserAgent = DefaultHTTPUserAgent, System.TimeSpan QueryTimeout = null, DNSClient DNSClient = null ) : System

Create an abstract HTTP client.

Dispose ( ) : void

Dispose this object.

보호된 메소드들

메소드 설명
SendException ( System.DateTime Timestamp, Object Sender, Exception Exception ) : void

Notify that an exception occured.

SendHTTPError ( System.DateTime Timestamp, Object Sender, HTTPResponse HttpResponse ) : void

Notify that an HTTP error occured.

메소드 상세

AHTTPClient() 공개 메소드

Create an abstract HTTP client.
public AHTTPClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, X509Certificate ClientCert = null, String HTTPVirtualHost = null, String UserAgent = DefaultHTTPUserAgent, System.TimeSpan QueryTimeout = null, DNSClient DNSClient = null ) : System
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 System.Security.Cryptography.X509Certificates.X509Certificate 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

Dispose() 공개 메소드

Dispose this object.
public Dispose ( ) : void
리턴 void

SendException() 보호된 메소드

Notify that an exception occured.
protected SendException ( System.DateTime Timestamp, Object Sender, Exception Exception ) : void
Timestamp System.DateTime The timestamp of the exception.
Sender Object The sender of this exception.
Exception System.Exception The exception itself.
리턴 void

SendHTTPError() 보호된 메소드

Notify that an HTTP error occured.
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.
리턴 void

프로퍼티 상세

DefaultQueryTimeout 공개적으로 정적으로 프로퍼티

The default timeout for upstream queries.
public static TimeSpan,System DefaultQueryTimeout
리턴 System.TimeSpan

DefaultRemotePort 공개적으로 정적으로 프로퍼티

The default remote TCP port to connect to.
public static IPPort DefaultRemotePort
리턴 IPPort