Returns a new node-vcr proxy middleware.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
host |
string | The hostname to proxy to |
|||||||||||||||||||||||||||||||||||||||||||||
options |
object |
Properties
|
Returns:
A function of the signature function (req, res)
that you can give to an http.Server
as its handler
- Type
- function