Export (0) Print
Expand All

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)

'Declaration
Public Interface IHttpBody _
	Inherits ICloneable

The IHttpBody type exposes the following members.

  NameDescription
Public propertyContentTypeGets a value that represents the content-type of the body.
Top

  NameDescription
Public methodCloneCreates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public methodWriteHttpBodyCreates a stream that contains the HTTP body.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft