chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / PrintToPDFResponse

PrintToPDFResponse

data class PrintToPDFResponse

Response type for the PageDomain.printToPDF command.

Constructors

<init>

Response type for the PageDomain.printToPDF command.

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

Properties

data

Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)

val data: String

stream

A handle of the stream that holds resulting PDF data.

val stream: StreamHandle?