struct Protocol::Page::PrintToPDF

Overview

Print page as PDF.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def data : String #

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


[View source]
def stream : IO::StreamHandle | Nil #

A handle of the stream that holds resulting PDF data.


[View source]