parameters: (self, request)
return_statement: return request
docstring: Echo method.
docstring_summary: Echo method.
docstring_tokens: Echo method .
function: def echo(self, request):
      """Echo method."""
      logging.info('\n'.join(
        ['Received request:',
         '  Host       = %s' % self.request_state.remote_host,
         '  IP Address = %s' % self.request_state.remote_address,
        ]))
      if request.want_time:
        request.time = int(time.time())
      return request
function_tokens: def echo ( self , request ) : logging . info ( '\n' . join ( [ 'Received request:' , '  Host       = %s' % self . request_state . remote_host , '  IP Address = %s' % self . request_state . remote_address , ] ) ) if request . want_time : request . time = int ( time . time ( ) ) return request