ShaiviAgarwal2 commented on issue #10153: URL: https://github.com/apache/trafficserver/issues/10153#issuecomment-1839188084
> Hello. can someone pls explain where can i find the definition of functions std::string_view name_get() const; and std::string_view value_get() const; in the code. I couldn't find the code for them. The functions `std::string_view name_get() const; `and `std::string_view value_get() const;` are member functions of the `MIMEField` class. The definitions of these functions would be in the corresponding source file (`MIME.cc`), which is typically located in the same directory as the header file (`MIME.h`). According to me, `name_get()` returns the name of the field, and `value_get() `returns the value of the field. Both functions include parameters to return the length of the name or value as an integer. These functions are defined in the header file for the `MIMEField` class Deprecating the functions means marking them as outdated or no longer recommended for use. It is a way to inform users that these functions may be removed in future versions and should be replaced with the preferred alternatives. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
