-
Hi, https://github.com/dotnet/aspnetcore/blob/master/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs is marked as public but the namespace contains Can I use the class in my project? Or the API may be removed? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a so called "pubternal" type. That means you can use it, but at your own risk. You could use the code (not the binary) in your project if you follow the license, to guard yourself from the beforementioned points. |
Beta Was this translation helpful? Give feedback.
This is a so called "pubternal" type.
It's access modifier is public (dictated by the usage), but inside an "internal"-namespace, so it should be considered as being an internal-type / implementation detail which doesn't follow the contracts of public APIs.
That means you can use it, but at your own risk.
There may be breaking changes (remember: it's "internal").
You could use the code (not the binary) in your project if you follow the license, to guard yourself from the beforementioned points.