Feedback: /runtime/reference/std/http/ - Needs Improvement

Open Beginner friendly
#2,911 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
documentation

Research direction

Open the documentation source for /runtime/reference/std/http/ and compare its Server-Side Events example with std/http/server_sent_event_stream.ts, especially the constructor around line 98. Update the example so it matches the current API, then verify the rendered page no longer passes the unsupported parameter.

Written by the indexing model from the issue text.

Description

feedback needs-improvement reference-docs upstream

Documentation Feedback

Path: /runtime/reference/std/http/
Helpful: No ❌

Feedback:

The example given on this page to use Server-Side Events (SSE) seems to be outdated, as it passes a parameter to ServerSentEventStream's constructor, which explicitly do not accept one.

See: https://github.com/denoland/std/blob/main/http/server_sent_event_stream.ts#L98

GitHub User: @Signez


This issue was automatically created from the documentation feedback system.

Dominant language
TypeScript
Stars
205
Forks
386
Avg merge
5d 19h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from denoland/docs

All issues in denoland/docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.