Skip to main content

Express.js Response Object

  • Chapter
  • First Online:
  • 1686 Accesses

Abstract

The Express.js response object (res for short)—which is an argument in the request handler callbacks—is the same good old Node.js http.response object on steroids. This is because the Express.js response object has new methods. In other words, the Express.js response object is the extension of the http.response class.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    http://nodejs.org/api/http.html#http_class_http_serverresponse

  2. 2.

    http://nodejs.org/api/http.html#http_response_end_data_encoding

  3. 3.

    http://practicalnodebook.com

  4. 4.

    http://practicalnodebook.com

  5. 5.

    http://nodejs.org/api/http.html#http_response_setheader_name_value

  6. 6.

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

  7. 7.

    http://nodejs.org/api/http.html#http_response_statuscode

  8. 8.

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Azat Mardan

About this chapter

Cite this chapter

Mardan, A. (2014). Express.js Response Object. In: Pro Express.js. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0037-7_8

Download citation

Publish with us

Policies and ethics