# railgun.Response

Similar to the request builder class, `railgun.Response` is a class used to wrap information about
responses and present them in an accessable way. They are produced by proxy servers in order to
be used for processing by middleware.

## Methods

### railgun.Response#constructor

The constructor takes one argument, the content of a response, which is an
[http.IncomingMessage](https://nodejs.org/dist/latest-v6.x/docs/api/http.html#http_class_http_incomingmessage).
The constructor processes the headers to change them from the default form, like `user-agent` to the
more traditional form like `User-Agent`.

### railgun.Response#finalize

Response#finalize returns the response builder as is. The method exists mostly to make the
class similar to the Response class.

### railgun.Response#clone

Response#clone copies the contents of a response into a new instance of the Response class with
all of the same contents.
