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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectKeyFrameCollection.cs
- DriveInfo.cs
- Exceptions.cs
- Renderer.cs
- Condition.cs
- ParsedRoute.cs
- DependencyPropertyHelper.cs
- PermissionSetEnumerator.cs
- UndirectedGraph.cs
- PeerConnector.cs
- SoapObjectWriter.cs
- WindowProviderWrapper.cs
- PolyLineSegmentFigureLogic.cs
- TcpHostedTransportConfiguration.cs
- QueryStringParameter.cs
- DeliveryRequirementsAttribute.cs
- SqlAliaser.cs
- FixedTextBuilder.cs
- XmlSchemaValidator.cs
- FormattedText.cs
- ProxyHelper.cs
- ProtocolsConfigurationEntry.cs
- _ContextAwareResult.cs
- SpellerInterop.cs
- ReadOnlyObservableCollection.cs
- WorkflowElementDialog.cs
- WebPartAddingEventArgs.cs
- DebugView.cs
- ObjectDataSourceDisposingEventArgs.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SectionXmlInfo.cs
- TreeNodeSelectionProcessor.cs
- DataException.cs
- TransactionFilter.cs
- Calendar.cs
- SourceElementsCollection.cs
- ResXDataNode.cs
- Track.cs
- ListBindingHelper.cs
- EventHandlerList.cs
- StylusButtonEventArgs.cs
- GridViewHeaderRowPresenter.cs
- DataGridRowHeader.cs
- EntityWithChangeTrackerStrategy.cs
- XmlSchemaAnnotated.cs
- WinFormsComponentEditor.cs
- ElementProxy.cs
- ClusterSafeNativeMethods.cs
- ServiceElement.cs
- Int32EqualityComparer.cs
- EdmToObjectNamespaceMap.cs
- Vector.cs
- CodeConstructor.cs
- Literal.cs
- PasswordTextContainer.cs
- AnnotationService.cs
- MulticastDelegate.cs
- WebDisplayNameAttribute.cs
- PageSettings.cs
- RolePrincipal.cs
- TimeSpanValidator.cs
- WebHeaderCollection.cs
- Avt.cs
- TextElement.cs
- ReadOnlyCollection.cs
- SHA512.cs
- SecurityDocument.cs
- _ConnectOverlappedAsyncResult.cs
- SafeThemeHandle.cs
- SystemWebSectionGroup.cs
- AppDomain.cs
- NonceCache.cs
- XmlNamespaceMapping.cs
- Quaternion.cs
- FileSystemInfo.cs
- SystemDiagnosticsSection.cs
- InlineUIContainer.cs
- FilteredDataSetHelper.cs
- SessionParameter.cs
- WorkflowShape.cs
- CollectionBase.cs
- ConfigXmlWhitespace.cs
- NumberAction.cs
- AppDomainFactory.cs
- UnsafeNativeMethods.cs
- returneventsaver.cs
- HttpListenerResponse.cs
- NativeBuffer.cs
- XamlWriter.cs
- ThicknessAnimationBase.cs
- DesignerDataColumn.cs
- RequestResizeEvent.cs
- IsolatedStorageException.cs
- XNodeSchemaApplier.cs
- BindingGroup.cs
- WbmpConverter.cs
- Identity.cs
- Misc.cs
- AspCompat.cs
- Propagator.JoinPropagator.cs