C# Class TraktRater.Web.TraktWeb

ファイルを表示 Open project: damienhaynes/TraktRater

Public Properties

Property Type Description
CustomRequestHeaders string>.Dictionary

Public Methods

Method Description
DeleteFromTrakt ( string address ) : bool
GetFromTrakt ( string address, string method = "GET" ) : string
PostToTrakt ( string address, string postData, bool logRequest = true ) : string
Transmit ( string address, string data, bool logResponse = true ) : string

Communicates to and from a Server

TransmitExtended ( string address ) : string

Method Details

DeleteFromTrakt() public static method

public static DeleteFromTrakt ( string address ) : bool
address string
return bool

GetFromTrakt() public static method

public static GetFromTrakt ( string address, string method = "GET" ) : string
address string
method string
return string

PostToTrakt() public static method

public static PostToTrakt ( string address, string postData, bool logRequest = true ) : string
address string
postData string
logRequest bool
return string

Transmit() public static method

Communicates to and from a Server
public static Transmit ( string address, string data, bool logResponse = true ) : string
address string The URI to use
data string The Data to send
logResponse bool Shall we log the response?
return string

TransmitExtended() public static method

public static TransmitExtended ( string address ) : string
address string
return string

Property Details

CustomRequestHeaders public_oe static_oe property

public static Dictionary CustomRequestHeaders
return string>.Dictionary