Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WebSocket: Поправил Backend-пример#1990

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dtkdtk wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromdtkdtk:master

Conversation

dtkdtk
Copy link

  1. Добавил импорт модуляhttp (без него - ошибка)
    image
  2. Добавилserver.listen(80) (без него - скрипт сразу завершался)
  3. WebSocket.prototype не имеет поляServer, так чтоnew (new WebSocket).Server(...) - некорректно. Внёс правку:new WebSocket.Server(...)

VSC дело говорит (до/после):
image
image

@javascript-translate-botjavascript-translate-bot added the review neededReview needed, please approve or request changes labelAug 22, 2024
@javascript-translate-botjavascript-translate-bot requested a review froma teamAugust 22, 2024 16:12
@CLAassistant
Copy link

CLAassistant commentedAug 22, 2024
edited
Loading

CLA assistant check
All committers have signed the CLA.

@dtkdtkdtkdtk changed the titleПоправил Backend-примерWebSocket: Поправил Backend-примерAug 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
review neededReview needed, please approve or request changes
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@dtkdtk@CLAassistant@javascript-translate-bot

[8]ページ先頭

©2009-2025 Movatter.jp