1.2.2 • Published 7 years ago

backchat-proxy v1.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

:ear: backchat

Backchat is a small Node.js proxy utility for recording HTTP traffic and replaying it when the same request is made in the future.

Usage

  1. Install the utility with yarn add backchat-proxy
  2. Ensure the folder you are using to store the chats is created, by default it is chats/
  3. Run the utility from your Node.js modules node_modules/.bin/backchat, or backchat on its own inside package.json scripts (see below for arguments)
NameDescriptionRequiredDefault
-p, --portThe port to run the proxy server onno10001
-c, --chat-locationThe folder path for the chats to be storednochats/
-d, --disable-recordingDisable the recording feature and just use the proxynofalse
-u, --proxy-urlThe URL to proxy all traffic that goes through the proxy toyesn/a

To force a request to override the cached version, simply add a x-backchat-override-record header to the request

1.2.2

7 years ago

1.2.1

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago