Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Net / System / Net / _HeaderInfo.cs / 1 / _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. //------------------------------------------------------------------------------ //// 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
- BrowserTree.cs
- CellQuery.cs
- PropertyGridCommands.cs
- DataAccessException.cs
- TextContainer.cs
- arclist.cs
- ConfigurationFileMap.cs
- TCPClient.cs
- TreeNodeBinding.cs
- TemplateField.cs
- XPathSelfQuery.cs
- EncryptedPackageFilter.cs
- CanonicalFontFamilyReference.cs
- AssemblyLoader.cs
- XmlDataSourceNodeDescriptor.cs
- HtmlImageAdapter.cs
- DataGridViewDataConnection.cs
- StrokeNode.cs
- LayoutTableCell.cs
- WinInet.cs
- TransformGroup.cs
- RelationshipEndCollection.cs
- FileLoadException.cs
- ActivityBuilderXamlWriter.cs
- JapaneseCalendar.cs
- SelectManyQueryOperator.cs
- AbandonedMutexException.cs
- XPathConvert.cs
- InfoCardTrace.cs
- DataGridParentRows.cs
- ResizeBehavior.cs
- TextEffectResolver.cs
- CatchDesigner.xaml.cs
- ValidatorUtils.cs
- XPathExpr.cs
- ChannelDispatcher.cs
- RNGCryptoServiceProvider.cs
- MenuBindingsEditorForm.cs
- TempFiles.cs
- EditorAttribute.cs
- TypeInfo.cs
- JapaneseLunisolarCalendar.cs
- FixedSOMSemanticBox.cs
- bidPrivateBase.cs
- MetadataResolver.cs
- TableHeaderCell.cs
- odbcmetadatacollectionnames.cs
- SafeLibraryHandle.cs
- RawAppCommandInputReport.cs
- CqlIdentifiers.cs
- TableRowGroup.cs
- xmlfixedPageInfo.cs
- TextBoxRenderer.cs
- Html32TextWriter.cs
- ProtocolsConfigurationHandler.cs
- ElementProxy.cs
- DoubleAnimation.cs
- AnnotationComponentChooser.cs
- QilInvokeLateBound.cs
- WmlTextViewAdapter.cs
- Number.cs
- WebPartDisplayModeCollection.cs
- TdsParserStaticMethods.cs
- RandomNumberGenerator.cs
- MaskDesignerDialog.cs
- EntityDataSourceValidationException.cs
- ObjectDataSourceMethodEventArgs.cs
- AssociationTypeEmitter.cs
- Utils.cs
- InputLanguageCollection.cs
- DataSourceSerializationException.cs
- UIElementParaClient.cs
- UTF7Encoding.cs
- Configuration.cs
- ObjectItemCachedAssemblyLoader.cs
- UnsafeNativeMethodsPenimc.cs
- DoubleAverageAggregationOperator.cs
- WebBrowserNavigatingEventHandler.cs
- FlowDocumentReader.cs
- TextDecorationCollection.cs
- FlatButtonAppearance.cs
- DataBinder.cs
- SByteStorage.cs
- PrintDialog.cs
- DeferredTextReference.cs
- recordstate.cs
- InternalConfigHost.cs
- AndCondition.cs
- ResXFileRef.cs
- CloudCollection.cs
- TextEffectResolver.cs
- OleDbConnection.cs
- Substitution.cs
- QueryHandler.cs
- ProxyElement.cs
- BinaryObjectWriter.cs
- rsa.cs
- ActiveDocumentEvent.cs
- VisualTreeUtils.cs
- ButtonChrome.cs