DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.Protocols.UrlResponse Class Reference

Represents the response for the Url request. More...

Inherits DotNetBrowser.Protocols.IUrlResponse.

Public Member Functions

 UrlResponse (byte[] data, HttpStatusCode status=HttpStatusCode.OK, HttpHeadersEx headers=null)
 Creates the instance of the Url response based on the response data. More...
 

Properties

byte[] Data [get, set]
 Response data. More...
 
HttpStatusCode Status [get, set]
 Response status. More...
 
HttpHeadersEx Headers [get, set]
 Collection of the response headers. More...
 
- Properties inherited from DotNetBrowser.Protocols.IUrlResponse
byte[] Data [get, set]
 Response data. More...
 
HttpStatusCode Status [get, set]
 Response status. More...
 
HttpHeadersEx Headers [get, set]
 Collection of the response headers. More...
 

Detailed Description

Represents the response for the Url request.

Constructor & Destructor Documentation

DotNetBrowser.Protocols.UrlResponse.UrlResponse ( byte[]  data,
HttpStatusCode  status = HttpStatusCode.OK,
HttpHeadersEx  headers = null 
)

Creates the instance of the Url response based on the response data.

Parameters
dataResponse data
statusResponse status.
headersResponse headers.

Property Documentation

byte [] DotNetBrowser.Protocols.UrlResponse.Data
getset

Response data.

HttpHeadersEx DotNetBrowser.Protocols.UrlResponse.Headers
getset

Collection of the response headers.

HttpStatusCode DotNetBrowser.Protocols.UrlResponse.Status
getset

Response status.