Свойство | Тип | Описание | |
---|---|---|---|
BUFFER_SIZE | int | ||
CHUNKED_TERMINATOR | string | ||
DL_CACHE_SIZE | long | ||
stream | Stream |
Метод | Описание | |
---|---|---|
HttpConnection ( string address, int port, string servername, Stream stream ) : System | ||
awaitMessage ( ) : |
||
close ( ) : void | ||
continueDownload ( Stream output, |
||
continueDownload ( Stream output, |
||
nullAction ( int param1 ) : void | ||
sendRequest ( |
||
sendRequestAsync ( |
MOVED the requesting to a new thread and added the callBack error
|
|
takeByte ( byte buffer ) : byte[] |
Метод | Описание | |
---|---|---|
processResponse ( |
public HttpConnection ( string address, int port, string servername, Stream stream ) : System | ||
address | string | |
port | int | |
servername | string | |
stream | Stream | |
Результат | System |
public continueDownload ( Stream output, |
||
output | Stream | |
response | ||
setup | Action |
|
step | Action |
|
Результат | bool |
public continueDownload ( Stream output, |
||
output | Stream | |
response | ||
setup | Action |
|
step | Action |
|
whenfinished | System.Action | |
Результат | bool |
public static nullAction ( int param1 ) : void | ||
param1 | int | |
Результат | void |
public sendRequest ( |
||
request | ||
Результат |
public sendRequestAsync ( |
||
request | ||
callBack | AwaitMessageCallback | response null if exception. exception null otehrwise |
Результат | Thread |
public static string CHUNKED_TERMINATOR | ||
Результат | string |