03-01-2019 дата публикации
Номер: US20190007477A1
Принадлежит:
Fasetto, Inc.
A method of communication between devices is provided. The method comprises receiving a connection request, establishing a connection in response to the connection request, and receiving a first web API request on the connection. The method further comprises executing a first procedure in response to the first web API request, receiving a second web API request on the connection, and executing at least one of the first procedure or a second procedure in response to the second web API request. 1. A method of communication between devices , comprising:receiving, by a server, a connection request from a first device;determining, by the server, that the first device is incompatible with a first type of connection;determining, by the server and in response to the first device being incompatible with the first type of connection, that the first device is compatible with a second type of connection, the second type of connection comprising at least one of a Web Socket based connection, an EventSource based connection, a forever frame based connection, or a long polling persistent connection;establishing, by the server, a connection in the second type of connection in response to the connection request;receiving, by the server, a first request on the connection;executing, by the server, a first procedure in response to the first request;receiving, by the server, a second request on the connection; andexecuting, by the server, at least one of the first procedure or a second procedure in response to the second request.2. The method of claim 1 , wherein the second type of connection comprises the EventSource based connection.3. The method of claim 2 , wherein the second type of connection is selected by the server based at least in part on compatibility of the second type of connection with the first device transmitting the connection request.4. The method of claim 2 , wherein the connection persists between the first request and the second request.5. The method of claim 4 , ...
Подробнее