C# 클래스 Zazzles.Middleware.Communication

파일 보기 프로젝트 열기: FOGProject/zazzles

공개 메소드들

메소드 설명
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

메소드 상세

Contact() 공개 정적인 메소드

GET a URL but don't check for a response
public static Contact ( string postfix ) : bool
postfix string The postfix to attach to the server address
리턴 bool

Contact() 공개 정적인 메소드

GET a URL but don't check for a response
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

DownloadExternalFile() 공개 정적인 메소드

Download a file from an external server
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

DownloadFile() 공개 정적인 메소드

Downloads a file and creates necessary directories
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

GetRawResponse() 공개 정적인 메소드

Get the raw response of a server url
public static GetRawResponse ( string postfix ) : string
postfix string The postfix to attach to the server address
리턴 string

GetResponse() 공개 정적인 메소드

Get the parsed response of a server url
public static GetResponse ( string postfix ) : Response
postfix string The postfix to attach to the server address
리턴 Response

GetResponse() 공개 정적인 메소드

Get the parsed response of a server url
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

Post() 공개 정적인 메소드

POST data to a URL
public static Post ( string postfix, string param ) : Response
postfix string The text to append to the URL
param string The params to post
리턴 Response