Searched refs:close_code (Results 1 – 5 of 5) sorted by relevance
12 close_code = None variable42 while close_code is None:44 if close_code == 1001: # "Going Away"47 request.ws_stream.send_message('WRONG CODE %d' % close_code,73 global close_code75 close_code = code
36 unsigned short close_code; in lws_ws_client_rx_sm() local406 close_code = (unsigned short)((pp[0] << 8) | pp[1]); in lws_ws_client_rx_sm()407 if (close_code < 1000 || in lws_ws_client_rx_sm()408 close_code == 1004 || in lws_ws_client_rx_sm()409 close_code == 1005 || in lws_ws_client_rx_sm()410 close_code == 1006 || in lws_ws_client_rx_sm()411 (close_code >= 1016 && close_code < 3000) in lws_ws_client_rx_sm()
39 unsigned short close_code; in lws_ws_rx_sm() local481 close_code = (unsigned short)((pp[0] << 8) | pp[1]); in lws_ws_rx_sm()482 if (close_code < 1000 || in lws_ws_rx_sm()483 close_code == 1004 || in lws_ws_rx_sm()484 close_code == 1005 || in lws_ws_rx_sm()485 close_code == 1006 || in lws_ws_rx_sm()486 close_code == 1012 || in lws_ws_rx_sm()487 close_code == 1013 || in lws_ws_rx_sm()488 close_code == 1014 || in lws_ws_rx_sm()489 close_code == 1015 || in lws_ws_rx_sm()[all …]
791 def close_code(self): self.write('</CODE>') member in TexinfoParser