Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate two functions of the MIMEField #11960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ParmarManthanrajsinh
Copy link

Deprecate below two functions of the MIMEField:

const char *name_get(int *length) const;
const char *value_get(int *length) const;

Update documentation to:

Highlight the benefits of using std::string_view (e.g., safer memory handling).
Provide migration guides for developers transitioning to the std::string_view versions.

Advantages of Solution:

Encourages modern practices using std::string_view frequently.
Benchmarking performance is optimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant