Mapa mental
Design and implement a WebSocket strategy
Conteúdo do mapa
Design and implement a WebSocket strategy
Http polling
- JavaScript strategy
- Polling to server
- See whether there is data that client needs
- Is not efficient
- Works in any browser that support JavaScript
- Does not require HTML5 support
Http long pooling
- Use http to mock up a way
- For the server pass data back to client
- Use http to mock up a way
WebSocket
- Duplex or two-way
- Communication
- Server
- Code to interact with socket
- Client
- Code to interact with socket
- Server
- Communication
- Require HTML5 support
- Duplex or two-way
Informações
- Descrição
- Mapa Mental sobre Design and implement a WebSocket strategy, criado por gohan9746 em 01-09-2015.
- Criado por
- gohan9746
- Visualizações
- 0
- Avaliação