A method and system for two-way communication between a web browser and a server
A web browser, two-way communication technology, applied in transmission systems, electrical components, etc., can solve problems such as incompatibility of communication methods with different web browsers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The present invention provides a method and system for two-way communication between a web browser and a server. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0026] see figure 1 , figure 1 A method for two-way communication between a web browser and a server of the present invention, comprising the steps of:
[0027] S101. Call the general API to perform initialization;
[0028] S102. Identify the current operating environment, determine whether the web browser supports html5, and use the Websocket communication method to perform two-way communication with the server if so.
[0029] Among them, the Websocket communication method is an asynchronous communication method between the next-genera...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


