Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 IHttpBody : 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.