Skip to content

[html] 第425天 websocket和http有什么区别? #2512

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第425天 websocket和http有什么区别?

3+1官网

我也要出题

Activity

zhaofeipeter

zhaofeipeter commented on Jul 24, 2020

@zhaofeipeter

WebSocket是双向的,在客户端-服务器通信的场景中使用的全双工协议,与HTTP不同,它以ws://或wss://开头。
HTTP是单向的,客户端发送请求,服务器发送响应。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@zhaofeipeter

        Issue actions

          [html] 第425天 websocket和http有什么区别? · Issue #2512 · haizlin/fe-interview