Searched refs:closeCode (Results 1 – 2 of 2) sorted by relevance
42 void onClose(int closeCode, String message); in onClose() argument132 void close(int closeCode,String message); in close() argument
762 static inline BOOL closeCodeIsValid(int closeCode) {763 if (closeCode < 1000) {767 if (closeCode >= 1000 && closeCode <= 1011) {768 if (closeCode == 1004 ||769 closeCode == 1005 ||770 closeCode == 1006) {776 if (closeCode >= 3000 && closeCode <= 3999) {780 if (closeCode >= 4000 && closeCode <= 4999) {799 __block uint16_t closeCode = 0;808 [data getBytes:&closeCode length:sizeof(closeCode)];[all …]