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
- SerializationEventsCache.cs
- ConstantExpression.cs
- Attributes.cs
- QilLiteral.cs
- SystemKeyConverter.cs
- DataRelation.cs
- _AutoWebProxyScriptEngine.cs
- StringCollection.cs
- SafeFileMapViewHandle.cs
- SafeRightsManagementHandle.cs
- CreateUserWizard.cs
- Span.cs
- GenerateDerivedKeyRequest.cs
- TextTreeInsertUndoUnit.cs
- WriteableBitmap.cs
- SoapIgnoreAttribute.cs
- HttpHandlerAction.cs
- webclient.cs
- WSHttpBindingBaseElement.cs
- HandlerFactoryWrapper.cs
- MessagePropertyDescriptionCollection.cs
- metadatamappinghashervisitor.cs
- TreeViewItemAutomationPeer.cs
- CookieProtection.cs
- LocalizationParserHooks.cs
- DataGridColumnCollection.cs
- FontStyle.cs
- GacUtil.cs
- KeyValueInternalCollection.cs
- XpsFilter.cs
- Visitors.cs
- SmtpNtlmAuthenticationModule.cs
- SingleTagSectionHandler.cs
- HealthMonitoringSectionHelper.cs
- SamlAction.cs
- PermissionSet.cs
- SkewTransform.cs
- RowUpdatingEventArgs.cs
- RemoteWebConfigurationHost.cs
- SmiXetterAccessMap.cs
- DeclarationUpdate.cs
- HwndPanningFeedback.cs
- LayoutTableCell.cs
- NamedElement.cs
- SqlProvider.cs
- AdRotatorDesigner.cs
- ContractMethodInfo.cs
- RelationshipEndCollection.cs
- SqlDataSourceView.cs
- DataObjectFieldAttribute.cs
- SimpleApplicationHost.cs
- XmlDataDocument.cs
- SystemSounds.cs
- SingleTagSectionHandler.cs
- EventLogQuery.cs
- IISUnsafeMethods.cs
- CollectionsUtil.cs
- FormsAuthenticationEventArgs.cs
- SqlEnums.cs
- TextFormatterHost.cs
- SocketStream.cs
- XmlSchemaSimpleTypeList.cs
- FilterQueryOptionExpression.cs
- MethodExpr.cs
- ISCIIEncoding.cs
- TransactionFlowOption.cs
- RuntimeResourceSet.cs
- DuplicateWaitObjectException.cs
- SqlProviderServices.cs
- KeyMatchBuilder.cs
- RecognizedWordUnit.cs
- CompiledQuery.cs
- TaskFileService.cs
- TypedReference.cs
- Attributes.cs
- IsolatedStoragePermission.cs
- InteropAutomationProvider.cs
- ObjectStorage.cs
- TableLayoutCellPaintEventArgs.cs
- SocketPermission.cs
- NavigatorInput.cs
- ActionMessageFilterTable.cs
- TagMapCollection.cs
- UnmanagedHandle.cs
- ClassGenerator.cs
- CheckPair.cs
- UDPClient.cs
- QEncodedStream.cs
- UndoManager.cs
- AssemblyUtil.cs
- XpsFont.cs
- TagMapInfo.cs
- JournalEntry.cs
- EndPoint.cs
- CompositeTypefaceMetrics.cs
- ToolStripItem.cs
- DrawingVisual.cs
- CharacterMetrics.cs
- Section.cs
- SafeCryptContextHandle.cs