pl.wendigo.chrome.domain.page / PrintToPDFResponse

PrintToPDFResponse

data class PrintToPDFResponse (source)

Represents response frame for Page.printToPDF method call.

Print page as PDF.

Constructors

<init>

PrintToPDFResponse(data: String, stream: StreamHandle? = null)

Represents response frame for Page.printToPDF method call.

Properties

data

val data: String

Base64-encoded pdf data. Empty if |returnAsStream| is specified.

stream

val stream: StreamHandle?

A handle of the stream that holds resulting PDF data.