Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IHttpBody Interface

 

Provides a common interface for accessing an HTTP body.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public interface class IHttpBody : ICloneable

NameDescription
System_CAPS_pubpropertyContentType

Gets a value that represents the content-type of the body.

NameDescription
System_CAPS_pubmethodClone()

(Inherited from ICloneable.)

System_CAPS_pubmethodWriteHttpBody(WebTestRequest^, Stream^)

Creates a stream that contains the HTTP body.

IHttpBody provides access to the HTTP body through the WriteHttpBody method.

Return to top
Show: