C# Class Microsoft.Protocols.TestSuites.MS_WSSREST.MS_WSSREST

The proxy of MS-WSSREST protocol.
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
Initialize ( ITestSite site ) : void

Initialize the instance of ITestSite.

SendMessage ( HttpMethod method, Request request ) : HttpWebResponse

Send http request with specified method and header to get the corresponding response.

Method Details

Initialize() public method

Initialize the instance of ITestSite.
public Initialize ( ITestSite site ) : void
site ITestSite A object provides logging, assertions, and SUT adapters for test code onto its execution context.
return void

SendMessage() public method

Send http request with specified method and header to get the corresponding response.
public SendMessage ( HttpMethod method, Request request ) : HttpWebResponse
method HttpMethod Http request method.
request Request The header and content.
return System.Net.HttpWebResponse