Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UnsupportedPolicyOptionsException.cs
- LogEntryHeaderv1Deserializer.cs
- InvokeWebService.cs
- ApplicationSecurityInfo.cs
- RowSpanVector.cs
- CanonicalFormWriter.cs
- _UriSyntax.cs
- RenameRuleObjectDialog.cs
- VariableQuery.cs
- ReflectionPermission.cs
- TraceUtility.cs
- StructuredTypeEmitter.cs
- SslStream.cs
- PersistChildrenAttribute.cs
- HttpModuleCollection.cs
- DesignerForm.cs
- ServiceBusyException.cs
- FileAccessException.cs
- CompositeScriptReferenceEventArgs.cs
- SQLDouble.cs
- DataGridViewIntLinkedList.cs
- HtmlTitle.cs
- InstanceKeyNotReadyException.cs
- TypeForwardedFromAttribute.cs
- ConfigurationSettings.cs
- Window.cs
- ContainerTracking.cs
- _NegotiateClient.cs
- Transactions.cs
- HttpProfileBase.cs
- SHA1CryptoServiceProvider.cs
- EnumUnknown.cs
- NativeMethods.cs
- TimeoutException.cs
- TextTreeObjectNode.cs
- SoapRpcMethodAttribute.cs
- Vars.cs
- FormsAuthenticationUser.cs
- ImageClickEventArgs.cs
- UrlMapping.cs
- CompositeFontFamily.cs
- GridViewHeaderRowPresenter.cs
- Speller.cs
- SynchronizedInputHelper.cs
- UrlEncodedParameterWriter.cs
- ElementHost.cs
- HandlerBase.cs
- BooleanKeyFrameCollection.cs
- Multiply.cs
- MessageBox.cs
- DataGridColumnHeaderAutomationPeer.cs
- QuinticEase.cs
- UserControl.cs
- WebPartPersonalization.cs
- MeshGeometry3D.cs
- XmlSchemaParticle.cs
- ObjectDataSourceSelectingEventArgs.cs
- WebConfigurationManager.cs
- SR.cs
- SessionParameter.cs
- ApplicationHost.cs
- ObjectDataSourceView.cs
- ProviderBase.cs
- Point3D.cs
- ColumnHeaderConverter.cs
- ItemCheckedEvent.cs
- ApplicationServiceManager.cs
- TrackingServices.cs
- EntityDataSourceChangedEventArgs.cs
- WsatTransactionHeader.cs
- WebPartDisplayModeCancelEventArgs.cs
- ContainerParagraph.cs
- MsmqInputSessionChannelListener.cs
- Executor.cs
- SharedStatics.cs
- BinHexEncoder.cs
- GeometryDrawing.cs
- View.cs
- BindingsCollection.cs
- SoapMessage.cs
- ImageIndexEditor.cs
- TimelineGroup.cs
- WorkflowItemPresenter.cs
- UserControlDesigner.cs
- SystemUnicastIPAddressInformation.cs
- XmlDataLoader.cs
- XmlEntity.cs
- TextSpanModifier.cs
- NegationPusher.cs
- TemplatedWizardStep.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- HttpRequestCacheValidator.cs
- DockPatternIdentifiers.cs
- TransactionInformation.cs
- StyleModeStack.cs
- DataGridViewRowsRemovedEventArgs.cs
- QueryHandler.cs
- CompositeDuplexBindingElementImporter.cs
- HttpHandler.cs
- basecomparevalidator.cs