C# 클래스 FlickrNet.TwitterResponder

Flickr library interaction with the web goes in here.
파일 보기 프로젝트 열기: liquidboy/X 1 사용 예제들

공개 메소드들

메소드 설명
GetDataResponseAsync ( Twitter flickr, string method, string baseUrl, string>.Dictionary parameters ) : Task>

Gets a data response for the given base url and parameters, either using OAuth or not depending on which parameters were passed in.

OAuthCalculateAuthHeader ( string>.Dictionary parameters ) : string

Returns the string for the Authorisation header to be used for OAuth authentication. Parameters other than OAuth ones are ignored.

OAuthCalculatePostData ( string>.Dictionary parameters ) : string

Calculates for form encoded POST data to be included in the body of an OAuth call.

This will include all non-OAuth parameters. The OAuth parameter will be included in the Authentication header.

비공개 메소드들

메소드 설명
DownloadDataAsync ( string method, string baseUrl, string data, string contentType, string authHeader ) : Task>
GetDataResponseNormalAsync ( Twitter flickr, string baseUrl, string>.Dictionary parameters ) : Task>
GetDataResponseOAuthAsync ( Twitter flickr, string method, string baseUrl, string>.Dictionary parameters ) : Task>

메소드 상세

GetDataResponseAsync() 공개 정적인 메소드

Gets a data response for the given base url and parameters, either using OAuth or not depending on which parameters were passed in.
public static GetDataResponseAsync ( Twitter flickr, string method, string baseUrl, string>.Dictionary parameters ) : Task>
flickr Twitter The current instance of the class.
method string
baseUrl string The base url to be called.
parameters string>.Dictionary A dictionary of parameters.
리턴 Task>

OAuthCalculateAuthHeader() 공개 정적인 메소드

Returns the string for the Authorisation header to be used for OAuth authentication. Parameters other than OAuth ones are ignored.
public static OAuthCalculateAuthHeader ( string>.Dictionary parameters ) : string
parameters string>.Dictionary OAuth and other parameters.
리턴 string

OAuthCalculatePostData() 공개 정적인 메소드

Calculates for form encoded POST data to be included in the body of an OAuth call.
This will include all non-OAuth parameters. The OAuth parameter will be included in the Authentication header.
public static OAuthCalculatePostData ( string>.Dictionary parameters ) : string
parameters string>.Dictionary
리턴 string