Bagikan melalui


BasicHtmlWebResponseObject Class

Definition

Response object for html content without DOM parsing.

public ref class BasicHtmlWebResponseObject : Microsoft::PowerShell::Commands::WebResponseObject
[Windows::Foundation::Metadata::WebHostHidden]
class BasicHtmlWebResponseObject : Microsoft::PowerShell::Commands::WebResponseObject
public class BasicHtmlWebResponseObject : Microsoft.PowerShell.Commands.WebResponseObject
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public class BasicHtmlWebResponseObject : Microsoft.PowerShell.Commands.WebResponseObject
type BasicHtmlWebResponseObject = class
    inherit WebResponseObject
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type BasicHtmlWebResponseObject = class
    inherit WebResponseObject
Public Class BasicHtmlWebResponseObject
Inherits WebResponseObject
Inheritance
BasicHtmlWebResponseObject
Attributes

Constructors

BasicHtmlWebResponseObject(HttpResponseMessage, Stream, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

BasicHtmlWebResponseObject(HttpResponseMessage, Stream)

Initializes a new instance of the BasicHtmlWebResponseObject class with the specified contentStream.

BasicHtmlWebResponseObject(HttpResponseMessage, TimeSpan, CancellationToken)

Initializes a new instance of the BasicHtmlWebResponseObject class.

BasicHtmlWebResponseObject(HttpResponseMessage)

Initializes a new instance of the BasicHtmlWebResponseObject class.

BasicHtmlWebResponseObject(WebResponse, Stream)

Constructor for HtmlWebResponseObject with memory stream

BasicHtmlWebResponseObject(WebResponse)

Constructor for HtmlWebResponseObject

Fields

perReadTimeout

Time permitted between reads or Timeout.InfiniteTimeSpan for no timeout.

(Inherited from WebResponseObject)

Properties

BaseResponse

Gets or sets the BaseResponse property.

(Inherited from WebResponseObject)
Content

Gets the text body content of this response.

Encoding

Gets the encoding of the text body content of this response.

Headers

Gets the Headers property.

(Inherited from WebResponseObject)
Images

Gets the HTML img elements parsed from Content.

InputFields

Gets the HTML input field elements parsed from Content.

Links

Gets the HTML a link elements parsed from Content.

RawContent

Gets or protected sets the full response content.

(Inherited from WebResponseObject)
RawContentLength

Gets the length (in bytes) of RawContentStream.

(Inherited from WebResponseObject)
RawContentStream

Gets or protected sets the response body content as a MemoryStream.

(Inherited from WebResponseObject)
RelationLink

Gets the RelationLink property.

(Inherited from WebResponseObject)
StatusCode

Gets the response status code.

(Inherited from WebResponseObject)
StatusDescription

Gets the response status description.

(Inherited from WebResponseObject)

Methods

InitializeContent()

Reads the response content from the web response.

InitializeContent(CancellationToken)

Reads the response content from the web response.

ToString()

Returns the string representation of this web response.

(Inherited from WebResponseObject)

Applies to