C# Class Herald.Client

显示文件 Open project: HeraldStudio/Herald-WP

Public Methods

Method Description
Client ( ) : System
Client ( String str ) : System
Get ( Action Change, System.Action Wait, string url = null, int flag = 1 ) : Task
Post ( HttpFormUrlEncodedContent postData, Action TextChange, System.Action Wait, string url = null, int flag = 1 ) : Task

Private Methods

Method Description
HttpRequestAsync ( Func httpRequestFuncAsync, Action Change, System.Action Wait, int flag ) : Task

Method Details

Client() public method

public Client ( ) : System
return System

Client() public method

public Client ( String str ) : System
str String
return System

Get() public method

public Get ( Action Change, System.Action Wait, string url = null, int flag = 1 ) : Task
Change Action
Wait System.Action
url string
flag int
return Task

Post() public method

public Post ( HttpFormUrlEncodedContent postData, Action TextChange, System.Action Wait, string url = null, int flag = 1 ) : Task
postData HttpFormUrlEncodedContent
TextChange Action
Wait System.Action
url string
flag int
return Task