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

Async method alternatives are missing #9

Open
pallibj opened this issue Jan 26, 2024 · 2 comments
Open

Async method alternatives are missing #9

pallibj opened this issue Jan 26, 2024 · 2 comments

Comments

@pallibj
Copy link

pallibj commented Jan 26, 2024

In using HtmlTextWriter to write directly to the response stream in asp.net core, those writes need to be async.

HtmlTextWriter does support some async methods to do writes, but it lacks async alternatives for methods like WriteFullBeginTag, WriteEndTag, WriteBeginTag and similar methods.

@mfeingol
Copy link
Owner

In general, my goal with this was to emulate the existing HtmlTextWriter and go no further.

However, if you'd like to submit a PR that adds async methods, I'll take it.

@pallibj
Copy link
Author

pallibj commented Jan 26, 2024

Ok, thanks, no problem. I might do that later. For now I'll test adding it locally by inheriting your class. It it works well, I might submit a PR.

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

No branches or pull requests

2 participants