original_string: public function withServerParams(array $params)
      {
          $request = $this->copy();
          $request->serverParams = $params;
          
          $request->reset();
          
          return $request;
      }
code: public function withServerParams(array $params)
      {
          $request = $this->copy();
          $request->serverParams = $params;
          
          $request->reset();
          
          return $request;
      }
code_tokens: public function withServerParams ( array $ params ) { $ request = $ this -> copy ( ) ; $ request -> serverParams = $ params ; $ request -> reset ( ) ; return $ request ; }
docstring: Return an instance with the specified server params.
  
  Resets all properties that can be derived from the server parameters.
  
  Note: this method is not part of the PSR-7 specs.
  
  @param array $params Array of key/value pairs server parameters.
  @return static
docstring_tokens: Return an instance with the specified server params .