Méthode | Description | |
---|---|---|
CreateHttpRequest ( string serverAddress, int port, string fileName, string>.Dictionary |
Create HTTP request message with custom HTTP header.
|
|
CreatePccrtpRequest ( string serverAddress, int port, string requestFileName, BranchCacheVersion version = BranchCacheVersion.V1, bool missingData = false ) : |
Create PCCRTP request message.
|
|
Dispose ( ) : void |
Release the managed and unmanaged resources.
|
|
PccrtpClient ( ) : System |
Initializes a new instance of the PccrtpClient class.
|
|
PccrtpClient ( ILogPrinter logger ) : System |
Initializes a new instance of the PccrtpClient class.
|
|
SendHttpRequest ( HttpVersionType httpVersion, |
Send HTTP request for the full content and receive HTTP response from the server.
|
|
SendHttpRequest ( HttpVersionType httpVersion, |
Send HTTP request for partial content and receive HTTP response from the server.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release resources.
|
public CreateHttpRequest ( string serverAddress, int port, string fileName, string>.Dictionary |
||
serverAddress | string | The server address. |
port | int | The port |
fileName | string | The reuqest uri. |
httpHeader | string>.Dictionary | The HTTP header. |
Résultat |
public CreatePccrtpRequest ( string serverAddress, int port, string requestFileName, BranchCacheVersion version = BranchCacheVersion.V1, bool missingData = false ) : |
||
serverAddress | string | The server address. |
port | int | The port. |
requestFileName | string | The request uri. |
version | BranchCacheVersion | Version of branch cache. |
missingData | bool | True if this is a missing data request; false otherwise. |
Résultat |
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. /// |
Résultat | void |
public PccrtpClient ( ILogPrinter logger ) : System | ||
logger | ILogPrinter | An instance of ILogPrinter. |
Résultat | System |
public SendHttpRequest ( HttpVersionType httpVersion, |
||
httpVersion | HttpVersionType | he HTTP version. |
request | The HTTP reqeust. | |
timeOut | int | The time out to wait the response. |
Résultat |
public SendHttpRequest ( HttpVersionType httpVersion, |
||
httpVersion | HttpVersionType | The HTTP version. |
request | The PCCRTP request. | |
timeOut | int | The number of milliseconds to wait before the request times out |
rangeFrom | int | The start position at which to the requested data. |
rangeTo | int | The end position at which to the requested data. |
Résultat |