C# 클래스 Netsy.Requests.WebRequestGenerator

Request data via a http web request
상속: IRequestGenerator
파일 보기 프로젝트 열기: AnthonySteele/Netsy 1 사용 예제들

공개 메소드들

메소드 설명
StartRequest ( Uri uri, Action dataAction, Action errorAction ) : IAsyncResult

Start the request

비공개 메소드들

메소드 설명
RequestCompletedCallback ( Action dataAction, Action errorAction ) : AsyncCallback

Generate a callback for the request completion It's a template method, functional style

메소드 상세

StartRequest() 공개 메소드

Start the request
public StartRequest ( Uri uri, Action dataAction, Action errorAction ) : IAsyncResult
uri System.Uri the request uri
dataAction Action the action to execute if data is returned
errorAction Action the action to execute if an error is returned
리턴 IAsyncResult