Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / _HeaderInfo.cs / 1305376 / _HeaderInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net {
internal delegate string[] HeaderParser(string value);
internal class HeaderInfo {
internal readonly bool IsRequestRestricted;
internal readonly bool IsResponseRestricted;
internal readonly HeaderParser Parser;
//
// Note that the HeaderName field is not always valid, and should not
// be used after initialization. In particular, the HeaderInfo returned
// for an unknown header will not have the correct header name.
//
internal readonly string HeaderName;
internal readonly bool AllowMultiValues;
internal HeaderInfo(string name, bool requestRestricted, bool responseRestricted, bool multi, HeaderParser p) {
HeaderName = name;
IsRequestRestricted = requestRestricted;
IsResponseRestricted = responseRestricted;
Parser = p;
AllowMultiValues = multi;
}
}
} // namespace System.Net
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ApplicationTrust.cs
- WindowsTokenRoleProvider.cs
- MinimizableAttributeTypeConverter.cs
- XmlAttributes.cs
- VectorAnimationBase.cs
- FixedSOMImage.cs
- WorkflowRuntimeServiceElement.cs
- CompensatableSequenceActivity.cs
- ZipIOLocalFileDataDescriptor.cs
- M3DUtil.cs
- CharUnicodeInfo.cs
- AssemblyInfo.cs
- CngKeyCreationParameters.cs
- VectorAnimationUsingKeyFrames.cs
- PackagingUtilities.cs
- Assert.cs
- Action.cs
- PathSegmentCollection.cs
- PackWebRequestFactory.cs
- ObjectParameterCollection.cs
- PermissionSetTriple.cs
- XsltArgumentList.cs
- ConsoleKeyInfo.cs
- TextEditor.cs
- FileReservationCollection.cs
- KeyValueSerializer.cs
- RangeValuePattern.cs
- ParameterCollection.cs
- FormsAuthenticationTicket.cs
- DummyDataSource.cs
- HtmlInputImage.cs
- WebPartZone.cs
- SemaphoreSecurity.cs
- NullReferenceException.cs
- SByteConverter.cs
- BitmapMetadata.cs
- SvcMapFileSerializer.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- IdentityNotMappedException.cs
- SessionStateUtil.cs
- WebReferencesBuildProvider.cs
- FilteredReadOnlyMetadataCollection.cs
- DecoratedNameAttribute.cs
- SoapFormatterSinks.cs
- CacheForPrimitiveTypes.cs
- SoapAttributeOverrides.cs
- ApplicationServiceManager.cs
- DesignerDataRelationship.cs
- ParameterModifier.cs
- StringFreezingAttribute.cs
- RenderOptions.cs
- UpdateDelegates.Generated.cs
- ResolveMatchesCD1.cs
- DefaultPropertyAttribute.cs
- BufferModesCollection.cs
- MeasurementDCInfo.cs
- EdmComplexTypeAttribute.cs
- FormView.cs
- ModelItemDictionaryImpl.cs
- PropertyMappingExceptionEventArgs.cs
- PageAsyncTaskManager.cs
- MarkupExtensionReturnTypeAttribute.cs
- StrictAndMessageFilter.cs
- DependencyPropertyValueSerializer.cs
- IntersectQueryOperator.cs
- XPathNodeList.cs
- DBAsyncResult.cs
- CodeVariableReferenceExpression.cs
- ModelItemCollectionImpl.cs
- Rotation3DKeyFrameCollection.cs
- AssemblyBuilder.cs
- ExpressionBuilder.cs
- MaterialCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- StringSource.cs
- IsolatedStorageFile.cs
- RoutedEventValueSerializer.cs
- Preprocessor.cs
- UniqueID.cs
- LineProperties.cs
- Substitution.cs
- LowerCaseStringConverter.cs
- StringBuilder.cs
- XmlKeywords.cs
- PerspectiveCamera.cs
- WindowsIPAddress.cs
- XmlKeywords.cs
- HtmlTableCellCollection.cs
- SharedStatics.cs
- _HTTPDateParse.cs
- InternalPermissions.cs
- ValueType.cs
- BrushConverter.cs
- Variable.cs
- WebBrowsableAttribute.cs
- DataGridViewImageCell.cs
- SourceItem.cs
- _ServiceNameStore.cs
- ThousandthOfEmRealDoubles.cs
- LoginUtil.cs