Skip to content

Link specifically to req/res in unclear node http module documentation #45

Description

@morkeltry

In week 7, we found that it is difficult for people to find the authoritative documentation on request objects, as they are described in the node docs as message or IncomingMessage (which is a type which could be either ClientRequest or ServerResponse )
Proposal:
In 'What is a handler function?' in Step 3, include:

(request and response are instances of the two different types of IncomingMessage object)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions