Skip to content

quic: Wording docu createBidirectionalStream (and uni) #63655

Description

@martenrichter

The documentation says for body:

When omitted, the stream starts half-closed (writable side open, no body queued).

As one is allowed to use setBody afterwards or use writer afterwards.
I think it is better to call it half-open as no fin is send immediately? (Or am I am mistaken... @jasnell )
The same of course for unidirectional stream.

Of course, this is only a nit....

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

    quicIssues and PRs related to the QUIC transport implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions