C# Class Serializer.HttpHelpers

显示文件 Open project: KHProjects/KH-Parker-Fox

Public Methods

Method Description
GetHttpContent ( string url ) : string
GetHttpResponseMessage ( SupportedHttpMethods httpMethod, string url ) : HttpResponseMessage
GetHttpResponseMessage ( SupportedHttpMethods httpMethod, string url, string content ) : HttpResponseMessage
HttpInvoke ( SupportedHttpMethods httpMethod, string url ) : void
HttpInvoke ( SupportedHttpMethods httpMethod, string url, string content ) : void

Method Details

GetHttpContent() public method

public GetHttpContent ( string url ) : string
url string
return string

GetHttpResponseMessage() public method

public GetHttpResponseMessage ( SupportedHttpMethods httpMethod, string url ) : HttpResponseMessage
httpMethod SupportedHttpMethods
url string
return System.Net.Http.HttpResponseMessage

GetHttpResponseMessage() public method

public GetHttpResponseMessage ( SupportedHttpMethods httpMethod, string url, string content ) : HttpResponseMessage
httpMethod SupportedHttpMethods
url string
content string
return System.Net.Http.HttpResponseMessage

HttpInvoke() public method

public HttpInvoke ( SupportedHttpMethods httpMethod, string url ) : void
httpMethod SupportedHttpMethods
url string
return void

HttpInvoke() public method

public HttpInvoke ( SupportedHttpMethods httpMethod, string url, string content ) : void
httpMethod SupportedHttpMethods
url string
content string
return void