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