Skip to main content

Response

  • Chapter
  • First Online:
Express.js Deep API Reference
  • 913 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 to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 27.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

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). Response. In: Express.js Deep API Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0781-9_6

Download citation

Publish with us

Policies and ethics