Methods
(static) request() → {String}
Formats an http.IncomingMessage like curl does.
Parameters:
Type | Description |
---|---|
http.IncomingMessage |
Returns:
- Type
- String
(static) response() → {String}
Formats an http.ServerResponse like curl does.
Parameters:
Type | Description |
---|---|
http.ServerResponse |
Returns:
- Type
- String