C# 클래스 SteamAuth.SteamWeb

파일 보기 프로젝트 열기: geel9/SteamAuth 1 사용 예제들

공개 메소드들

메소드 설명
MobileLoginRequest ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null ) : string

Perform a mobile login request

Request ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : string
Request ( string url, string method, string dataString = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : string
RequestAsync ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : Task

비공개 메소드들

메소드 설명
HandleFailedWebRequestResponse ( HttpWebResponse response, string requestURL ) : void

Raise exceptions relevant to this HttpWebResponse -- EG, to signal that our oauth token has expired.

메소드 상세

MobileLoginRequest() 공개 정적인 메소드

Perform a mobile login request
public static MobileLoginRequest ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null ) : string
url string API url
method string GET or POST
data System.Collections.Specialized.NameValueCollection Name-data pairs
cookies System.Net.CookieContainer current cookie container
headers System.Collections.Specialized.NameValueCollection
리턴 string

Request() 공개 정적인 메소드

public static Request ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : string
url string
method string
data System.Collections.Specialized.NameValueCollection
cookies System.Net.CookieContainer
headers System.Collections.Specialized.NameValueCollection
referer string
리턴 string

Request() 공개 정적인 메소드

public static Request ( string url, string method, string dataString = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : string
url string
method string
dataString string
cookies System.Net.CookieContainer
headers System.Collections.Specialized.NameValueCollection
referer string
리턴 string

RequestAsync() 공개 정적인 메소드

public static RequestAsync ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, NameValueCollection headers = null, string referer = APIEndpoints.COMMUNITY_BASE ) : Task
url string
method string
data System.Collections.Specialized.NameValueCollection
cookies System.Net.CookieContainer
headers System.Collections.Specialized.NameValueCollection
referer string
리턴 Task