Add documentation for request.client_addr (#27)

This commit is contained in:
Mark Blakeney
2021-09-22 21:04:28 +10:00
committed by GitHub
parent d527bdb7c3
commit 833fecb105

View File

@@ -172,6 +172,7 @@ class Request():
"""An HTTP request class. """An HTTP request class.
:var app: The application instance to which this request belongs. :var app: The application instance to which this request belongs.
:var client_addr: The address of the client, as a tuple (host, port).
:var method: The HTTP method of the request. :var method: The HTTP method of the request.
:var path: The path portion of the URL. :var path: The path portion of the URL.
:var query_string: The query string portion of the URL. :var query_string: The query string portion of the URL.