diff options
| author | telans <telans@protonmail.com> | 2020-06-20 18:20:33 +1200 |
|---|---|---|
| committer | telans <telans@protonmail.com> | 2020-06-20 18:20:33 +1200 |
| commit | 8e3d8748021fe0336e2fc1211810cc9bbe2c8850 (patch) | |
| tree | 87f4660c36e489b19f76c6ac5da2a357cab5a55d /RSSDP/HttpParserBase.cs | |
| parent | 8de6452967d229624c81e06d992b1cb0cb6715b1 (diff) | |
remove regions
Diffstat (limited to 'RSSDP/HttpParserBase.cs')
| -rw-r--r-- | RSSDP/HttpParserBase.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/RSSDP/HttpParserBase.cs b/RSSDP/HttpParserBase.cs index e7172cb1c..ff97b6db8 100644 --- a/RSSDP/HttpParserBase.cs +++ b/RSSDP/HttpParserBase.cs @@ -11,16 +11,9 @@ namespace Rssdp.Infrastructure /// <typeparam name="T"></typeparam> public abstract class HttpParserBase<T> where T : new() { - - #region Fields - private readonly string[] LineTerminators = new string[] { "\r\n", "\n" }; private readonly char[] SeparatorCharacters = new char[] { ',', ';' }; - #endregion - - #region Public Methods - /// <summary> /// Parses the <paramref name="data"/> provided into either a <see cref="HttpRequestMessage"/> or <see cref="HttpResponseMessage"/> object. /// </summary> @@ -81,10 +74,6 @@ namespace Rssdp.Infrastructure return Version.Parse(versionData.Substring(versionSeparatorIndex + 1)); } - #endregion - - #region Private Methods - /// <summary> /// Parses a line from an HTTP request or response message containing a header name and value pair. /// </summary> @@ -202,8 +191,5 @@ namespace Rssdp.Infrastructure else return trimmedSegment; } - - #endregion - } } |
