HeaderInfo.cs 993 B

1234567891011121314151617181920212223242526272829
  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. internal class HeaderInfo
  15. {
  16. internal readonly string HeaderName;
  17. internal readonly bool IsRequestRestricted;
  18. internal HeaderInfo(string name, bool requestRestricted)
  19. {
  20. this.HeaderName = name;
  21. this.IsRequestRestricted = requestRestricted;
  22. }
  23. }
  24. }