Commit Graph

14 Commits

Author SHA1 Message Date
Alexander Palagin
7346f142fa replace dmStriCmp with dmStrCaseCmp (#31) 2021-02-10 07:50:09 +01:00
Alexander Palagin
ac230a6278 Handshake response object if handshake failed (#29)
* added handshake response object, so if error occurs on websocket handhsake stage, server's response can be reachable for further decisions

* fixed typo; removed c++11 style constructors
2021-02-04 08:30:40 +01:00
Mathias Westerdahl
70afde4cfa Merge pull request #20 from defold/issue-17-path-fix
Issue 17: Fixed path argument in http handshake
2020-10-31 15:48:21 +01:00
JCash
8450a88640 Issue 17: Fixed path argument in http handshake 2020-10-31 10:40:21 +01:00
JCash
1cc1d802b3 Issue 16: Added protocol as a connection parameter 2020-10-31 10:14:44 +01:00
JCash
94bcc82f25 cleanup 2020-10-18 09:42:53 +02:00
JCash
78d527d3a8 Issue 5: Added support for custom headers 2020-10-17 12:26:20 +02:00
JCash
e105702c79 Issue 13: Added support for connect sequence timeout
Decreased the select timeout when reading headers
Don't call callback with DISCONNECTED if the connection was never connected
2020-10-17 11:40:53 +02:00
JCash
5b0a9960a8 Check the response headers more thoroughly 2020-10-12 09:45:05 +02:00
JCash
40ba1b334c Issue 4: Compare header keys without case sensitivity 2020-10-12 09:33:47 +02:00
JCash
832a156395 Issue 6: Handle multiple messages per frame 2020-09-26 12:51:43 +02:00
JCash
5de32250c3 Websocket now supports html5 as well 2020-09-02 10:44:02 +02:00
JCash
1e6c534609 Added support for SSL 2020-08-28 12:43:50 +02:00
JCash
0e589290ed some restructuring of the code 2020-08-25 16:50:33 +02:00