Skip to content

http docs should refer to stream.Duplex instead of net.Socket #29948

Closed
@tniessen

Description

In many places in the documentation (example: 'socket' event), socket is not necessarily a net.Socket, but always a stream.Duplex (which net.Socket inherits from). We should at least mention that if we don't want to replace all references.

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions