Make member functions const when appropriate. #1239
IgorJamder
started this conversation in
General
Replies: 1 comment
-
|
Can you PR the const fixes? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please consider making appropriate 'uWS::HttpRequest' member function const, e.g.:
getMethod() const
getUrl() const
getQuery() const
etc.
(also adding cbegin(), cend() would be great :o) - to simplify the iteration over the headers using std:: algos, etc.
Beta Was this translation helpful? Give feedback.
All reactions