docs: protocol.RequestHttpJob
This commit is contained in:
parent
92f3371118
commit
1d41903779
1 changed files with 10 additions and 1 deletions
|
@ -84,6 +84,15 @@ Create a request job which sends a string as response.
|
||||||
|
|
||||||
Create a request job which sends a buffer as response.
|
Create a request job which sends a buffer as response.
|
||||||
|
|
||||||
|
## Class: protocol.RequestHttpJob(options)
|
||||||
|
|
||||||
|
* `options` Object
|
||||||
|
* `url` String
|
||||||
|
* `method` String - Default is `GET`
|
||||||
|
* `referrer` String
|
||||||
|
|
||||||
|
Send a request to `url` and pipe the response back.
|
||||||
|
|
||||||
## Class: protocol.RequestErrorJob(code)
|
## Class: protocol.RequestErrorJob(code)
|
||||||
|
|
||||||
* `code` Integer
|
* `code` Integer
|
||||||
|
|
Loading…
Add table
Reference in a new issue