Permalink
Browse files

updated readme

  • Loading branch information...
1 parent fd5e0b0 commit 1757cbd096a2dd2d44f76029cfe35339a19c576a @pdfcrowd committed Apr 28, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
@@ -19,7 +19,8 @@ Dependencies
## Getting Started
-The following code converts raw HTML code to PDF and sends it as a HTTP
+The following code converts raw HTML code to PDF and returns it in an
+HTTP
[response](http://nodejs.org/docs/latest/api/http.html#http.ServerResponse):
var pdf = require('./lib/pdfcrowd');
@@ -100,7 +101,7 @@ Saves the generated PDF to a file.
sendHttpResponse(response [,disposition])
-Sends the generated PDF in a HTTP
+Returns the generated PDF in an HTTP
[response](http://nodejs.org/docs/latest/api/http.html#http.ServerResponse). *dispostion*
can be `"attachment"` (default) or `"inline"`.

0 comments on commit 1757cbd

Please sign in to comment.