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
- UnicodeEncoding.cs
- Parallel.cs
- RealizationDrawingContextWalker.cs
- EmptyWithCancelationCheckWorkItem.cs
- HtmlDocument.cs
- SqlDelegatedTransaction.cs
- TextTrailingCharacterEllipsis.cs
- IndexedString.cs
- FormViewCommandEventArgs.cs
- ProfessionalColorTable.cs
- Guid.cs
- _DigestClient.cs
- EncryptedKey.cs
- ConfigurationSectionGroupCollection.cs
- RemotingHelper.cs
- DynamicRenderer.cs
- DocumentNUp.cs
- LogSwitch.cs
- AccessorTable.cs
- SHA512.cs
- GeneratedCodeAttribute.cs
- uribuilder.cs
- SrgsGrammar.cs
- AdPostCacheSubstitution.cs
- CodeRemoveEventStatement.cs
- MouseActionConverter.cs
- WindowsAuthenticationEventArgs.cs
- ProcessHostFactoryHelper.cs
- BlockCollection.cs
- PageParserFilter.cs
- ScrollViewerAutomationPeer.cs
- ClientSideProviderDescription.cs
- MsmqTransportSecurityElement.cs
- DragDrop.cs
- ContentOperations.cs
- HitTestParameters.cs
- HashAlgorithm.cs
- precedingsibling.cs
- SkewTransform.cs
- AutomationPeer.cs
- PerspectiveCamera.cs
- EventItfInfo.cs
- DeviceContext.cs
- filewebrequest.cs
- DataListGeneralPage.cs
- CfgParser.cs
- FixedFlowMap.cs
- TypeForwardedFromAttribute.cs
- XPathQilFactory.cs
- CompModHelpers.cs
- StringUtil.cs
- UIAgentMonitor.cs
- CodeGen.cs
- HtmlUtf8RawTextWriter.cs
- ConsumerConnectionPointCollection.cs
- XmlSchemaSubstitutionGroup.cs
- Util.cs
- AlphabeticalEnumConverter.cs
- AssociationEndMember.cs
- DialogBaseForm.cs
- CollectionViewGroupRoot.cs
- HttpClientCertificate.cs
- Brushes.cs
- MachineKeySection.cs
- IPEndPointCollection.cs
- TemplateKeyConverter.cs
- BufferedGraphicsContext.cs
- NativeWindow.cs
- XmlSchemaComplexContentExtension.cs
- DefaultBindingPropertyAttribute.cs
- EventLevel.cs
- DllNotFoundException.cs
- SqlDataSourceEnumerator.cs
- Mappings.cs
- AnimationClockResource.cs
- AttachedPropertyMethodSelector.cs
- ResourceProviderFactory.cs
- Behavior.cs
- sqlcontext.cs
- SqlMethodTransformer.cs
- _ScatterGatherBuffers.cs
- StreamHelper.cs
- EndpointInfo.cs
- DescendantQuery.cs
- RowSpanVector.cs
- VisualTarget.cs
- XmlDocumentSerializer.cs
- SmiEventStream.cs
- TrackBarRenderer.cs
- CompositionAdorner.cs
- DataGridViewRowConverter.cs
- ProgressBarRenderer.cs
- SoapAttributeAttribute.cs
- ExpressionParser.cs
- PackagingUtilities.cs
- SingleStorage.cs
- ObjectAnimationUsingKeyFrames.cs
- MetadataArtifactLoaderComposite.cs
- SqlCacheDependency.cs
- ResizingMessageFilter.cs