The Ex­press re­sponse ob­ject and its meth­ods

OpenSource For You - - DEVELOPERS -

The Ex­press re­sponse ob­ject is de­rived from the stan­dard Node.js server re­sponse ob­ject. It has some util­ity func­tions too. Some fre­quently used func­tions are listed below: 1. ap­pend() 2. cookie() 3. clearCookie() 4. end() 5. get() 6. json() 7. re­di­rect() 8. ren­der() 9. set() 10. sta­tus()

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.