skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class HttpResponse

Inheritance
System.Object
HttpResponse
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Messaging.Http
Assembly: ArtOfTest.WebAii.dll

Syntax

public class HttpResponse : IXmlPersistable

Constructors

HttpResponse()

Declaration
public HttpResponse()

HttpResponse(HttpResponse)

Declaration
public HttpResponse(HttpResponse toCopy)
Parameters
HttpResponse toCopy

HttpResponse(Int32, HttpRequest)

Declaration
public HttpResponse(int errorCode, HttpRequest request)
Parameters
System.Int32 errorCode

HttpRequest request

Properties

Content

Declaration
public byte[] Content { get; set; }
Property Value
System.Byte[]

Guid

Declaration
public Guid Guid { get; }
Property Value
System.Guid

Headers

Declaration
public NameValueCollection Headers { get; set; }
Property Value
System.Collections.Specialized.NameValueCollection

HttpVersion

Declaration
public string HttpVersion { get; set; }
Property Value
System.String

IsImage

Declaration
public bool IsImage { get; }
Property Value
System.Boolean

IsXml

Declaration
public bool IsXml { get; }
Property Value
System.Boolean

MimeType

Declaration
public string[] MimeType { get; }
Property Value
System.String[]

Request

Declaration
public HttpRequest Request { get; }
Property Value
HttpRequest

StatusCode

Declaration
public int StatusCode { get; set; }
Property Value
System.Int32

StatusDescription

Declaration
public string StatusDescription { get; set; }
Property Value
System.String

Timestamp

Declaration
public DateTime Timestamp { get; }
Property Value
System.DateTime

Methods

AddHeader(String, String)

Declaration
public void AddHeader(string name, string value)
Parameters
System.String name

System.String value

AppendHeader(String, String)

Declaration
public void AppendHeader(string name, string value)
Parameters
System.String name

System.String value

CleanUpConnectionOptions()

Declaration
public void CleanUpConnectionOptions()

Clear()

Declaration
public void Clear()

ClearContent()

Declaration
public void ClearContent()

ClearHeaders()

Declaration
public void ClearHeaders()

GetUnchunkedContent()

Declaration
public byte[] GetUnchunkedContent()
Returns
System.Byte[]

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

ToString(Boolean)

Declaration
public string ToString(bool printHeaders)
Parameters
System.Boolean printHeaders

Returns
System.String

Explicit Interface Implementations

IXmlPersistable.CurrentVersion

Declaration
Version IXmlPersistable.CurrentVersion { get; }
Returns
System.Version

Implements
IXmlPersistable.CurrentVersion

IXmlPersistable.LoadFrom(XmlStoreNode)

Declaration
void IXmlPersistable.LoadFrom(XmlStoreNode store)
Parameters
XmlStoreNode store

Implements
IXmlPersistable.LoadFrom(XmlStoreNode)

IXmlPersistable.RootName

Declaration
string IXmlPersistable.RootName { get; }
Returns
System.String

Implements
IXmlPersistable.RootName

IXmlPersistable.SaveTo(XmlStoreNode)

Declaration
void IXmlPersistable.SaveTo(XmlStoreNode store)
Parameters
XmlStoreNode store

Implements
IXmlPersistable.SaveTo(XmlStoreNode)

IXmlPersistable.XmlBlob

Declaration
XmlBlob IXmlPersistable.XmlBlob { get; set; }
Returns
XmlBlob

Implements
IXmlPersistable.XmlBlob
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.