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

The proxy of MS-WSSREST protocol.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

SendMessage() public méthode

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.
Résultat System.Net.HttpWebResponse