Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- StrongName.cs
- InternalsVisibleToAttribute.cs
- JoinCqlBlock.cs
- StringOutput.cs
- PublishLicense.cs
- ByteAnimationUsingKeyFrames.cs
- GridViewRowPresenter.cs
- Int64Storage.cs
- FixUp.cs
- ManualResetEvent.cs
- DbModificationClause.cs
- DependencyPropertyDescriptor.cs
- Light.cs
- ProxyHwnd.cs
- OutputScopeManager.cs
- PriorityBinding.cs
- WebServiceErrorEvent.cs
- TextServicesCompartmentEventSink.cs
- HtmlWindow.cs
- SingleConverter.cs
- TCPClient.cs
- Thread.cs
- IISMapPath.cs
- InvalidOleVariantTypeException.cs
- GridEntryCollection.cs
- ErrorFormatterPage.cs
- ApplicationSettingsBase.cs
- SiteOfOriginContainer.cs
- LinkedResourceCollection.cs
- TypeConstant.cs
- DecoderBestFitFallback.cs
- ContractReference.cs
- PrintEvent.cs
- _AutoWebProxyScriptHelper.cs
- Rules.cs
- FolderBrowserDialog.cs
- NavigationHelper.cs
- IndividualDeviceConfig.cs
- XamlSerializationHelper.cs
- DbSetClause.cs
- Assert.cs
- AssemblyName.cs
- NegationPusher.cs
- sqlstateclientmanager.cs
- ValueType.cs
- WebPartConnectionsDisconnectVerb.cs
- DataGridHeaderBorder.cs
- RMEnrollmentPage1.cs
- WebOperationContext.cs
- ChannelSettingsElement.cs
- contentDescriptor.cs
- BasicExpandProvider.cs
- PropertyMetadata.cs
- CompositeClientFormatter.cs
- RuntimeEnvironment.cs
- TextElementEditingBehaviorAttribute.cs
- SessionStateSection.cs
- DataProtection.cs
- AutoCompleteStringCollection.cs
- Binding.cs
- XmlAggregates.cs
- ClientUrlResolverWrapper.cs
- RawKeyboardInputReport.cs
- CodeTryCatchFinallyStatement.cs
- HtmlEmptyTagControlBuilder.cs
- JapaneseCalendar.cs
- CheckoutException.cs
- SqlRewriteScalarSubqueries.cs
- InternalRelationshipCollection.cs
- AccessViolationException.cs
- MeasureItemEvent.cs
- MatrixAnimationBase.cs
- StyleTypedPropertyAttribute.cs
- ToolStripLabel.cs
- COAUTHIDENTITY.cs
- ActivityStatusChangeEventArgs.cs
- CoreChannel.cs
- Panel.cs
- DataGridLinkButton.cs
- ToolStripPanelRow.cs
- TraceSwitch.cs
- TrackingStringDictionary.cs
- ConnectionManagementElementCollection.cs
- AnnouncementSendsAsyncResult.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TextParagraphProperties.cs
- SamlAuthorityBinding.cs
- InkCanvas.cs
- EventPrivateKey.cs
- DocumentSequence.cs
- OutKeywords.cs
- IODescriptionAttribute.cs
- DecoderExceptionFallback.cs
- FilteredDataSetHelper.cs
- TraceLevelStore.cs
- PieceDirectory.cs
- XmlByteStreamReader.cs
- CodeDefaultValueExpression.cs
- WebPartZone.cs
- DirectoryObjectSecurity.cs