Skip to content

doc: add parameters for Http2Session:stream event

Add parameters for the callback for the Http2Session:stream event inline with the pattern in the rest of the documentation.

Refs: https://github.com/nodejs/help/issues/877#issuecomment-381253464

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

P.S. I was kinda confused regarding the type of the flags variable, so I set it to Number for now.

/cc @nodejs/http2 @mcollina @vsemozhetbyt

Merge request reports

Loading