Skip to content

quic: Wording docu createBidirectionalStream (and uni) #63655

@martenrichter

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions