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
- ValidationEventArgs.cs
- TypefaceMap.cs
- DataStorage.cs
- XmlSerializerImportOptions.cs
- SqlBulkCopyColumnMappingCollection.cs
- ActivityBindForm.cs
- DataSourceControlBuilder.cs
- Stream.cs
- CodeExpressionCollection.cs
- TraceHandler.cs
- RunClient.cs
- ExceptionValidationRule.cs
- ObjectParameterCollection.cs
- XmlSerializerFactory.cs
- AppDomain.cs
- TaiwanCalendar.cs
- RectangleGeometry.cs
- XPathDocumentBuilder.cs
- SequentialUshortCollection.cs
- DbTransaction.cs
- FixedPage.cs
- Int16.cs
- ToolStripPanelSelectionGlyph.cs
- MemberJoinTreeNode.cs
- PoisonMessageException.cs
- StylusPointDescription.cs
- ActivityExecutorOperation.cs
- Function.cs
- ColumnWidthChangedEvent.cs
- XmlSchemaObjectTable.cs
- ListenerHandler.cs
- InternalCache.cs
- SelectionPattern.cs
- OleDbRowUpdatedEvent.cs
- SqlNodeAnnotations.cs
- RawStylusSystemGestureInputReport.cs
- FontUnitConverter.cs
- FormViewUpdateEventArgs.cs
- SerialErrors.cs
- AlternateViewCollection.cs
- DataGridItemCollection.cs
- RectangleHotSpot.cs
- ClientConfigurationSystem.cs
- BypassElement.cs
- DataGridViewUtilities.cs
- AddInIpcChannel.cs
- VersionPair.cs
- ActiveDocumentEvent.cs
- HtmlEncodedRawTextWriter.cs
- HighlightVisual.cs
- Win32MouseDevice.cs
- ListViewGroupConverter.cs
- ObjectListCommandsPage.cs
- mansign.cs
- XmlCharCheckingWriter.cs
- SetterBaseCollection.cs
- ObjectDataSourceEventArgs.cs
- AuthenticateEventArgs.cs
- SiteMapNodeCollection.cs
- CopyAction.cs
- AtomPub10CategoriesDocumentFormatter.cs
- CollectionBase.cs
- DeclarativeConditionsCollection.cs
- EventLogPermissionHolder.cs
- _BufferOffsetSize.cs
- WindowsFormsHostAutomationPeer.cs
- HttpRawResponse.cs
- TraceHandlerErrorFormatter.cs
- HTTPNotFoundHandler.cs
- UserControl.cs
- FixedFindEngine.cs
- IxmlLineInfo.cs
- BindingValueChangedEventArgs.cs
- XPathQilFactory.cs
- ConnectionsZone.cs
- VScrollBar.cs
- UserControlBuildProvider.cs
- VisemeEventArgs.cs
- RealizationDrawingContextWalker.cs
- SqlProcedureAttribute.cs
- UrlMapping.cs
- LazyTextWriterCreator.cs
- WindowsGraphics2.cs
- InputLanguage.cs
- SqlClientMetaDataCollectionNames.cs
- _DisconnectOverlappedAsyncResult.cs
- SafeEventHandle.cs
- WindowsListView.cs
- DataBindingsDialog.cs
- SQLChars.cs
- DataGridViewCell.cs
- RegexRunner.cs
- EntityContainerRelationshipSet.cs
- SvcMapFileLoader.cs
- FtpRequestCacheValidator.cs
- ProfessionalColorTable.cs
- ValidationSummary.cs
- HostingEnvironment.cs
- messageonlyhwndwrapper.cs
- BaseAppDomainProtocolHandler.cs