C# Class Aqueduct.ServerDensity.RequestClient

Inheritance: IRequestClient
Exibir arquivo Open project: aqueduct/Aqueduct.Monitoring

Public Methods

Method Description
Get ( string url ) : string
Post ( string url, string postBody ) : string
RequestClient ( NetworkCredential creadentials ) : System.Text

Private Methods

Method Description
Create ( ) : WebClient

Method Details

Get() public method

public Get ( string url ) : string
url string
return string

Post() public method

public Post ( string url, string postBody ) : string
url string
postBody string
return string

RequestClient() public method

public RequestClient ( NetworkCredential creadentials ) : System.Text
creadentials System.Net.NetworkCredential
return System.Text