C# Class Cares.WebApp.ApiService

Api service
Datei anzeigen Open project: innoist/GF-FRS

Protected Properties

Property Type Description
Client System.Net.Http.HttpClient

Public Methods

Method Description
ApiService ( ) : System

Constructor

Protected Methods

Method Description
GetHttpRequestAsync ( Uri uri ) : Task

Get request

PostHttpRequestAsync ( string content, Uri uri ) : Task

Post Request

Private Methods

Method Description
Exc ( ) : void

Method Details

ApiService() public method

Constructor
public ApiService ( ) : System
return System

GetHttpRequestAsync() protected method

Get request
protected GetHttpRequestAsync ( Uri uri ) : Task
uri System.Uri
return Task

PostHttpRequestAsync() protected method

Post Request
protected PostHttpRequestAsync ( string content, Uri uri ) : Task
content string
uri System.Uri
return Task

Property Details

Client protected_oe property

protected HttpClient,System.Net.Http Client
return System.Net.Http.HttpClient