ResponseData
Namespace: PuppeteerSharp
public class ResponseDataResponse that will fulfill a request.
Inheritance: object
Properties
Section titled “Properties”public string Body { get; set; }Response body (text content).
Value: string — Body as text.
BodyData
Section titled “BodyData”public byte[] BodyData { get; set; }Response body (binary content).
Value: byte[] — The body as binary.
ContentType
Section titled “ContentType”public string ContentType { get; set; }If set, equals to setting <a href=“https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type</a> response header.
Value: string — The Content-Type.
Headers
Section titled “Headers”public Dictionary<string, object> Headers { get; set; }Response headers. Header values will be converted to strings. Headers with null values will be ignored. When multiple headers values are required use an ICollection to add multiple values for the Header key.
Value: Dictionary<string, object> — Headers.
Status
Section titled “Status”public HttpStatusCode? Status { get; set; }Response status code.
Value: HttpStatusCode? — Status Code.
Made with love by Dario Kondratiuk