Method: Pdfcrowd::PdfToHtmlClient#convertUrl
- Defined in:
- lib/pdfcrowd.rb
#convertUrl(url) ⇒ Object
4280 4281 4282 4283 4284 4285 4286 4287 |
# File 'lib/pdfcrowd.rb', line 4280 def convertUrl(url) unless /(?i)^https?:\/\/.*$/.match(url) raise Error.new(Pdfcrowd.(url, "convertUrl", "pdf-to-html", "Supported protocols are http:// and https://.", "convert_url"), 470); end @fields['url'] = url @helper.post(@fields, @files, @raw_data) end |