original_string: public function getStringToSign(RequestInterface $request, $timestamp, $nonce)
      {
          $params = $this->getParamsToSign($request, $timestamp, $nonce);
  
          // Convert booleans to strings.
          $params = $this->prepareParameters($params);
  
          // Build signing string from combined params
          $parameterString = new QueryString($params);
  
          $url = Url::factory($request->getUrl())->setQuery('')->setFragment(null);
  
          return strtoupper($request->getMethod()) . '&'
               . rawurlencode($url) . '&'
               . rawurlencode((string) $parameterString);
      }
code: public function getStringToSign(RequestInterface $request, $timestamp, $nonce)
      {
          $params = $this->getParamsToSign($request, $timestamp, $nonce);
  
          // Convert booleans to strings.
          $params = $this->prepareParameters($params);
  
          // Build signing string from combined params
          $parameterString = new QueryString($params);
  
          $url = Url::factory($request->getUrl())->setQuery('')->setFragment(null);
  
          return strtoupper($request->getMethod()) . '&'
               . rawurlencode($url) . '&'
               . rawurlencode((string) $parameterString);
      }
code_tokens: public function getStringToSign ( RequestInterface $ request , $ timestamp , $ nonce ) { $ params = $ this -> getParamsToSign ( $ request , $ timestamp , $ nonce ) ; // Convert booleans to strings. $ params = $ this -> prepareParameters ( $ params ) ; // Build signing string from combined params $ parameterString = new QueryString ( $ params ) ; $ url = Url :: factory ( $ request -> getUrl ( ) ) -> setQuery ( '' ) -> setFragment ( null ) ; return strtoupper ( $ request -> getMethod ( ) ) . '&' . rawurlencode ( $ url ) . '&' . rawurlencode ( ( string ) $ parameterString ) ; }
docstring: Calculate string to sign
  
  @param RequestInterface $request   Request to generate a signature for
  @param int              $timestamp Timestamp to use for nonce
  @param string           $nonce
  
  @return string
docstring_tokens: Calculate string to sign