메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Release the managed and unmanaged resources.
|
|
HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName ) : System |
Initializes a new instance of the HttpClientTransport class. Constructor of class HttpClientTransport to generate HTTP or HTTPs URI.
|
|
HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName, ILogPrinter logger ) : System |
Initializes a new instance of the HttpClientTransport class. Constructor of class HttpClientTransport to generate HTTP or HTTPs URI.
|
|
HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName, string domainName, string userName, string userPassword ) : System |
Initializes a new instance of the HttpClientTransport class. Constructor of class HttpClientTransport to generate HTTP or HTTPs URI.
|
|
Receive ( byte &payloadData ) : |
Receive HTTP response from the specified server.
|
|
Send ( System.Version httpVersion, string>.Dictionary |
Send HTTP request for the full content from the specified server.
|
|
Send ( System.Version httpVersion, string>.Dictionary |
Send HTTP request for the partial content from the specified server.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Release resources.
|
메소드 | 설명 | |
---|---|---|
GetBytes ( byte buffer, int &index, int count ) : byte[] |
Get bytes from bytes.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals true, managed and unmanaged resources are disposed. /// If false, only unmanaged resources can be disposed. /// |
리턴 | void |
public HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName ) : System | ||
transfer | TransferProtocol | Indicates the transfer protocol is HTTP or HTTPs. |
serverAddress | string | The address of HTTP server. |
port | int | The port number of HTTP server. |
fileName | string | The requested file name. |
리턴 | System |
public HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName, ILogPrinter logger ) : System | ||
transfer | TransferProtocol | Indicates the transfer protocol is HTTP or HTTPs. |
serverAddress | string | The address of HTTP server. |
port | int | The port number of HTTP server. |
fileName | string | The requested file name. |
logger | ILogPrinter | An instance of ILogPrinter. |
리턴 | System |
public HttpClientTransport ( TransferProtocol transfer, string serverAddress, int port, string fileName, string domainName, string userName, string userPassword ) : System | ||
transfer | TransferProtocol | Indicates the transfer protocol is HTTP or HTTPs. |
serverAddress | string | The address of HTTP server. |
port | int | The port number of HTTP server. |
fileName | string | The requested file name. |
domainName | string | The domain name. |
userName | string | The user name. |
userPassword | string | The password. |
리턴 | System |
public Receive ( byte &payloadData ) : |
||
payloadData | byte | Return the whole HTTP response payload. |
리턴 |
public Send ( System.Version httpVersion, string>.Dictionary |
||
httpVersion | System.Version | The HTTP version. |
httpHeader | string>.Dictionary | The HTTP header. |
httpBodyData | byte | The HTTP body data. |
httpMethod | HttpMethod | The HTTP method. |
timeOut | int | The number of milliseconds to wait before the request times out. |
리턴 | void |
public Send ( System.Version httpVersion, string>.Dictionary |
||
httpVersion | System.Version | The HTTP version. |
httpHeader | string>.Dictionary | The HTTP header. |
httpBodyData | byte | The HTTP payload. |
httpMethod | HttpMethod | The HTTP method. |
timeOut | int | The number of milliseconds to wait before the request times out. |
rangeFrom | int | The start position in bytes at which to the requested data. |
rangeTo | int | The end position in bytes at which to the requested data. |
리턴 | void |