title: get ip and url from ngx_http_request_t in nginx module
body: <p>I need to get client ip and uri he/she requested in ngnix by <code>ngx_http_request_t</code> struct in nginx module.</p>
  
  <p>as you know nginx module write like following code</p>
  
  <pre><code>ngx_http_sql_handler(ngx_http_request_t *r){//Code Here}
  </code></pre>
  
  <p>how can I get ip and uri from <code>r</code>,how can I do it?</p>