more cleanup to propagate server connection error and let onOpen callback execute

This commit is contained in:
Benjamin Sergeant
2018-12-31 12:43:47 -08:00
parent 3febc2431d
commit f8373dc666
6 changed files with 53 additions and 39 deletions

View File

@ -100,6 +100,7 @@ namespace ix
// Server
void setSocketFileDescriptor(int fd);
WebSocketInitResult connectToSocket(int fd);
WebSocketTransport _ws;