C# 클래스 Microsoft.Protocols.TestSuites.MS_ASHTTP.MS_ASHTTPAdapter

Adapter class of MS-ASHTTP.
상속: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASHTTPAdapter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
ConfigureRequestPrefixFields ( string>.IDictionary requestPrefixFields ) : void

Configure the fields in request line or request headers besides command name and command parameters.

HTTPOPTIONS ( ) : OptionsResponse

Send HTTP OPTIONS request to the server and get the response.

HTTPPOST ( CommandName commandName, object>.IDictionary commandParameters, string requestBody ) : SendStringResponse

Send HTTP POST request to the server and get the response.

Initialize ( ITestSite testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

비공개 메소드들

메소드 설명
VerifyHTTPOPTIONSHeaders ( OptionsResponse optionsResponse ) : void

Verify requirements about HTTP OPTIONS response headers.

VerifyHTTPOPTIONSResponse ( OptionsResponse optionsResponse ) : void

Verify requirements about HTTP OPTIONS response.

VerifyHTTPPOSTHeaders ( SendStringResponse postResponse ) : void

Verify requirements about HTTP POST response headers.

VerifyHTTPPOSTResponse ( SendStringResponse postResponse ) : void

Verify requirements about HTTP POST response.

VerifyHTTPResponse ( ) : void

Verify requirements about HTTP response.

VerifyTransportType ( ) : void

Verify the transport related requirements.

메소드 상세

ConfigureRequestPrefixFields() 공개 메소드

Configure the fields in request line or request headers besides command name and command parameters.
public ConfigureRequestPrefixFields ( string>.IDictionary requestPrefixFields ) : void
requestPrefixFields string>.IDictionary The fields in request line or request headers which need to be configured besides command name and command parameters.
리턴 void

HTTPOPTIONS() 공개 메소드

Send HTTP OPTIONS request to the server and get the response.
public HTTPOPTIONS ( ) : OptionsResponse
리턴 OptionsResponse

HTTPPOST() 공개 메소드

Send HTTP POST request to the server and get the response.
public HTTPPOST ( CommandName commandName, object>.IDictionary commandParameters, string requestBody ) : SendStringResponse
commandName CommandName The name of the command to send.
commandParameters object>.IDictionary The command parameters.
requestBody string The plain text request.
리턴 SendStringResponse

Initialize() 공개 메소드

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite Transfer ITestSite into adapter, make adapter can use ITestSite's function.
리턴 void