C# 클래스 HttpAction.Action.AbstractHttpAction

상속: IHttpAction
파일 보기 프로젝트 열기: huoshan12345/iQQ.Net

공개 메소드들

메소드 설명
BuildRequest ( ) : HttpRequestItem
ExecuteAsync ( CancellationToken token ) : Task
HandleExceptionAsync ( Exception ex ) : Task
HandleResponse ( HttpResponseItem response ) : Task

보호된 메소드들

메소드 설명
AbstractHttpAction ( IHttpService httpHttpService ) : System
NotifyActionEventAsync ( ActionEvent actionEvent ) : Task
NotifyActionEventAsync ( ActionEventType type, object target = null ) : Task
NotifyOkActionEventAsync ( object target = null ) : Task

메소드 상세

AbstractHttpAction() 보호된 메소드

protected AbstractHttpAction ( IHttpService httpHttpService ) : System
httpHttpService IHttpService
리턴 System

BuildRequest() 공개 추상적인 메소드

public abstract BuildRequest ( ) : HttpRequestItem
리턴 HttpAction.Core.HttpRequestItem

ExecuteAsync() 공개 메소드

public ExecuteAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

HandleExceptionAsync() 공개 메소드

public HandleExceptionAsync ( Exception ex ) : Task
ex System.Exception
리턴 Task

HandleResponse() 공개 추상적인 메소드

public abstract HandleResponse ( HttpResponseItem response ) : Task
response HttpAction.Core.HttpResponseItem
리턴 Task

NotifyActionEventAsync() 보호된 메소드

protected NotifyActionEventAsync ( ActionEvent actionEvent ) : Task
actionEvent ActionEvent
리턴 Task

NotifyActionEventAsync() 보호된 메소드

protected NotifyActionEventAsync ( ActionEventType type, object target = null ) : Task
type ActionEventType
target object
리턴 Task

NotifyOkActionEventAsync() 보호된 메소드

protected NotifyOkActionEventAsync ( object target = null ) : Task
target object
리턴 Task