C# 클래스 AssemblyCSharp.BackendConnection

상속: System.DisposableObject
파일 보기 프로젝트 열기: wooga/ps_social_jam 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( BackendAuth auth ) : void
Authenticate ( string userID, string password ) : void
BackendConnection ( string host ) : System
DoGet ( string path, Dictionary,System.Collections.Generic urlParams, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback ) : IEnumerator
DoPostData ( string path, string postDataBody, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback = null ) : IEnumerator
DoPostForm ( string path, Dictionary,System.Collections.Generic formData, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback ) : IEnumerator
Execute ( AbstractBackendTask task, Action onSuccess, Action onError = null ) : void
NewContextDict ( ) : object>.Dictionary
PaymentAction ( ) : string
RequestDigest ( string path, string body = null, Dictionary,System.Collections.Generic urlParams = null ) : string
ResponseDigest ( string body, string password = null ) : string
RetryRequest ( ) : void
StartSession ( string sessionID, int sequence ) : void
TargetedAction ( string target, string action = null ) : string
UserAction ( string action = null ) : string

비공개 메소드들

메소드 설명
AbsURL ( string path ) : string
CreatePostFormWWW ( string path, Dictionary,System.Collections.Generic formData ) : WWW
CreateRequestHeaders ( string path, string body = null, Dictionary,System.Collections.Generic urlParams = null ) : Dictionary,System.Collections.Generic
DoRequest ( WWW www, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback ) : IEnumerator
ResponseAsDictionary ( WWW www ) : object>.Dictionary
SHA1HexDigest ( string str ) : string
SetCookie ( string cookieValue ) : void

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( BackendAuth auth ) : void
auth BackendAuth
리턴 void

Authenticate() 공개 메소드

public Authenticate ( string userID, string password ) : void
userID string
password string
리턴 void

BackendConnection() 공개 메소드

public BackendConnection ( string host ) : System
host string
리턴 System

DoGet() 공개 메소드

public DoGet ( string path, Dictionary,System.Collections.Generic urlParams, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback ) : IEnumerator
path string
urlParams Dictionary,System.Collections.Generic
cancellationToken CancellationToken
verifyResponse bool
responseCallback object>.Action
리턴 IEnumerator

DoPostData() 공개 메소드

public DoPostData ( string path, string postDataBody, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback = null ) : IEnumerator
path string
postDataBody string
cancellationToken CancellationToken
verifyResponse bool
responseCallback object>.Action
리턴 IEnumerator

DoPostForm() 공개 메소드

public DoPostForm ( string path, Dictionary,System.Collections.Generic formData, CancellationToken cancellationToken, bool verifyResponse, object>.Action responseCallback ) : IEnumerator
path string
formData Dictionary,System.Collections.Generic
cancellationToken CancellationToken
verifyResponse bool
responseCallback object>.Action
리턴 IEnumerator

Execute() 공개 메소드

public Execute ( AbstractBackendTask task, Action onSuccess, Action onError = null ) : void
task AbstractBackendTask
onSuccess Action
onError Action
리턴 void

NewContextDict() 공개 메소드

public NewContextDict ( ) : object>.Dictionary
리턴 object>.Dictionary

PaymentAction() 공개 메소드

public PaymentAction ( ) : string
리턴 string

RequestDigest() 공개 메소드

public RequestDigest ( string path, string body = null, Dictionary,System.Collections.Generic urlParams = null ) : string
path string
body string
urlParams Dictionary,System.Collections.Generic
리턴 string

ResponseDigest() 공개 메소드

public ResponseDigest ( string body, string password = null ) : string
body string
password string
리턴 string

RetryRequest() 공개 메소드

public RetryRequest ( ) : void
리턴 void

StartSession() 공개 메소드

public StartSession ( string sessionID, int sequence ) : void
sessionID string
sequence int
리턴 void

TargetedAction() 공개 메소드

public TargetedAction ( string target, string action = null ) : string
target string
action string
리턴 string

UserAction() 공개 메소드

public UserAction ( string action = null ) : string
action string
리턴 string