C# Class Netsy.Requests.WebRequestGenerator

Request data via a http web request
Inheritance: IRequestGenerator
Afficher le fichier Open project: AnthonySteele/Netsy Class Usage Examples

Méthodes publiques

Méthode Description
StartRequest ( Uri uri, Action dataAction, Action errorAction ) : IAsyncResult

Start the request

Private Methods

Méthode Description
RequestCompletedCallback ( Action dataAction, Action errorAction ) : AsyncCallback

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

Method Details

StartRequest() public méthode

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
Résultat IAsyncResult