C# Class Create.CSP.GitHub.Reporting.Helpers.Utilities

显示文件 Open project: createitpt/Create.CSP.GitHub.Reporting

Public Methods

Method Description
PrintErrorResponse ( HttpWebResponse response, string content ) : void

This method is for printing error responses

PrintWebRequest ( HttpWebRequest request, string content ) : void

This method prints the web request to console

PrintWebResponse ( HttpWebResponse response, string content ) : void

This method is for printing web responses

Method Details

PrintErrorResponse() public static method

This method is for printing error responses
public static PrintErrorResponse ( HttpWebResponse response, string content ) : void
response HttpWebResponse response object
content string content in the response
return void

PrintWebRequest() public static method

This method prints the web request to console
public static PrintWebRequest ( HttpWebRequest request, string content ) : void
request HttpWebRequest request object
content string content in the request
return void

PrintWebResponse() public static method

This method is for printing web responses
public static PrintWebResponse ( HttpWebResponse response, string content ) : void
response HttpWebResponse response object
content string content in the web response
return void