HttpWebResponse.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //Copyright 2010 Microsoft Corporation
  2. //
  3. //Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
  9. //"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. //See the License for the specific language governing permissions and limitations under the License.
  11. namespace System.Data.Services.Http
  12. {
  13. using System;
  14. using System.Globalization;
  15. using System.IO;
  16. internal abstract class HttpWebResponse : System.Data.Services.Http.WebResponse, IDisposable
  17. {
  18. #region Properties.
  19. public abstract System.Data.Services.Http.WebHeaderCollection Headers
  20. {
  21. get;
  22. }
  23. public abstract System.Data.Services.Http.HttpWebRequest Request
  24. {
  25. get;
  26. }
  27. public abstract System.Data.Services.Http.HttpStatusCode StatusCode
  28. {
  29. get;
  30. }
  31. #endregion Properties.
  32. public abstract string GetResponseHeader(string headerName);
  33. }
  34. }