parameters: (self, status=STATUS_NORMAL, reason="")
docstring: send close data to the server.
  
          status: status code to send. see STATUS_XXX.
  
          reason: the reason to close. This must be string.
docstring_summary: send close data to the server.
docstring_tokens: send close data to the server .
function: def send_close(self, status=STATUS_NORMAL, reason=""):
          """
          send close data to the server.
  
          status: status code to send. see STATUS_XXX.
  
          reason: the reason to close. This must be string.
          """
          if status < 0 or status >= ABNF.LENGTH_16:
              raise ValueError("code is invalid range")
          self.send(struct.pack('!H', status) + reason, ABNF.OPCODE_CLOSE)
function_tokens: def send_close ( self , status = STATUS_NORMAL , reason = "" ) : if status < 0 or status >= ABNF . LENGTH_16 : raise ValueError ( "code is invalid range" ) self . send ( struct . pack ( '!H' , status ) + reason , ABNF . OPCODE_CLOSE )