(self, code=1000, reason='')
return CloseControlMessage(code=code, reason=reason)
Returns a close control message built from
        a :class:`ws4py.messaging.CloseControlMessage` instance,
        using the given status ``code`` and ``reason`` message.
Returns a close control message built from
        a :class:`ws4py.messaging.CloseControlMessage` instance,
        using the given status ``code`` and ``reason`` message.
Returns a close control message built from a : class : ws4py . messaging . CloseControlMessage instance using the given status code and reason message .
def close(self, code=1000, reason=''):
        """
        Returns a close control message built from
        a :class:`ws4py.messaging.CloseControlMessage` instance,
        using the given status ``code`` and ``reason`` message.
        """
        return CloseControlMessage(code=code, reason=reason)
def close ( self , code = 1000 , reason = '' ) : return CloseControlMessage ( code = code , reason = reason )