Метод | Описание | |
---|---|---|
Contact ( string postfix ) : bool |
GET a URL but don't check for a response
|
|
Contact ( string postfix, bool appendMAC ) : bool |
GET a URL but don't check for a response
|
|
DownloadExternalFile ( string url, string filePath ) : bool |
Download a file from an external server
|
|
DownloadFile ( string postfix, string filePath ) : bool |
Downloads a file and creates necessary directories
|
|
GetRawResponse ( string postfix ) : string |
Get the raw response of a server url
|
|
GetResponse ( string postfix ) : Response |
Get the parsed response of a server url
|
|
GetResponse ( string postfix, bool appendMAC ) : Response |
Get the parsed response of a server url
|
|
Post ( string postfix, string param ) : Response |
POST data to a URL
|
public static Contact ( string postfix ) : bool | ||
postfix | string | The postfix to attach to the server address |
Результат | bool |
public static Contact ( string postfix, bool appendMAC ) : bool | ||
postfix | string | The text to append to the url |
appendMAC | bool | Should the MAC be appended |
Результат | bool |
public static DownloadExternalFile ( string url, string filePath ) : bool | ||
url | string | The URL to download from |
filePath | string | The path to save the file to |
Результат | bool |
public static DownloadFile ( string postfix, string filePath ) : bool | ||
postfix | string | The postfix to attach to the server address |
filePath | string | The location to save the file |
Результат | bool |
public static GetRawResponse ( string postfix ) : string | ||
postfix | string | The postfix to attach to the server address |
Результат | string |
public static GetResponse ( string postfix ) : Response | ||
postfix | string | The postfix to attach to the server address |
Результат | Response |
public static GetResponse ( string postfix, bool appendMAC ) : Response | ||
postfix | string | The postfix to attach to the server address |
appendMAC | bool | If the MAC address of the host should be appended to the URL |
Результат | Response |
public static Post ( string postfix, string param ) : Response | ||
postfix | string | The text to append to the URL |
param | string | The params to post |
Результат | Response |