def ping(self, message=None):
        '''Write a ping ``frame``.
        '''
        return self.write(self.parser.ping(message), encode=False)
def ping ( self , message = None ) : return self . write ( self . parser . ping ( message ) , encode = False )
Write a ping ``frame``.