Closed Bug 1300541 Opened 8 years ago Closed 8 years ago

How to send ping message in websocket

Categories

(Firefox :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: wanghb89, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Actual results: I use websocket to communicate with my server. When I test my program, I just turn off my server network, and my client cannot websocket.close or websocket.error. I want to know how to set the firefox which can send ping message to the server.
Bugzilla is for reporting bugs in Firefox. If you have general questions about using WebSockets to build a client application, I recommend starting with MDN: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.