Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws module broken #441

Closed
MarkTiedemann opened this issue May 23, 2019 · 5 comments · Fixed by #550
Closed

ws module broken #441

MarkTiedemann opened this issue May 23, 2019 · 5 comments · Fixed by #550

Comments

@MarkTiedemann
Copy link
Contributor

#430 removed the conn property from ServerRequest "because it's not used anymore". However, this property is still used in acceptWebSocket (see: https://github.com/denoland/deno_std/blob/master/ws/mod.ts#L368). So the ws module is broken now.

@ry
Copy link
Member

ry commented May 23, 2019

Oops. And apparently not tested well.

@irustm
Copy link
Contributor

irustm commented Jun 7, 2019

Tell me, please, what have you decided on this issue?

@josephrocca
Copy link

josephrocca commented Jul 25, 2019

Not sure it's related to this, but when I try to run the WebSocket demo code in the readme:

error: Uncaught SyntaxError: The requested module 'https://deno.land/std/ws/mod.ts' does not provide an export named 'WebSocket'

Seems like it's there in the .ts but gone in the compiled script.

@irustm
Copy link
Contributor

irustm commented Aug 6, 2019

waiting.. release deno_std 🙏

ry pushed a commit to ry/deno that referenced this issue Oct 9, 2019
caspervonb pushed a commit to caspervonb/deno_std that referenced this issue Jan 24, 2021
inverted-capital pushed a commit to dreamcatcher-tech/napps that referenced this issue Oct 24, 2024
This change adds the following REST API endpoints:
- `GET /api/items`
- `GET /api/items/[id]`
- `GET /api/items/[id]/comments`

Documentation will come in a follow-up PR.

Prerequisite for denoland#438 or denoland#429
Towards denoland#439
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants