IHeaderDictionary Interface
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Representa os cabeçalhos HttpRequest e HttpResponse
public interface class IHeaderDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>, System::Collections::Generic::IDictionary<System::String ^, Microsoft::Extensions::Primitives::StringValues>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
public interface IHeaderDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>, System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Primitives.StringValues>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type IHeaderDictionary = interface
interface IDictionary<string, StringValues>
interface ICollection<KeyValuePair<string, StringValues>>
interface seq<KeyValuePair<string, StringValues>>
interface IEnumerable
type IHeaderDictionary = interface
interface ICollection<KeyValuePair<string, StringValues>>
interface seq<KeyValuePair<string, StringValues>>
interface IEnumerable
interface IDictionary<string, StringValues>
Public Interface IHeaderDictionary
Implements ICollection(Of KeyValuePair(Of String, StringValues)), IDictionary(Of String, StringValues), IEnumerable(Of KeyValuePair(Of String, StringValues))
- Derivado
- Implementações
-
ICollection<KeyValuePair<String,StringValues>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,StringValues> IEnumerable<KeyValuePair<String,StringValues>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
Propriedades
| Accept |
Obtém ou define o cabeçalho HTTP |
| AcceptCharset |
Obtém ou define o cabeçalho HTTP |
| AcceptEncoding |
Obtém ou define o cabeçalho HTTP |
| AcceptLanguage |
Obtém ou define o cabeçalho HTTP |
| AcceptRanges |
Obtém ou define o cabeçalho HTTP |
| AccessControlAllowCredentials |
Obtém ou define o cabeçalho HTTP |
| AccessControlAllowHeaders |
Obtém ou define o cabeçalho HTTP |
| AccessControlAllowMethods |
Obtém ou define o cabeçalho HTTP |
| AccessControlAllowOrigin |
Obtém ou define o cabeçalho HTTP |
| AccessControlExposeHeaders |
Obtém ou define o cabeçalho HTTP |
| AccessControlMaxAge |
Obtém ou define o cabeçalho HTTP |
| AccessControlRequestHeaders |
Obtém ou define o cabeçalho HTTP |
| AccessControlRequestMethod |
Obtém ou define o cabeçalho HTTP |
| Age |
Obtém ou define o cabeçalho HTTP |
| Allow |
Obtém ou define o cabeçalho HTTP |
| AltSvc |
Obtém ou define o cabeçalho HTTP |
| Authorization |
Obtém ou define o cabeçalho HTTP |
| Baggage |
Obtém ou define o cabeçalho HTTP |
| CacheControl |
Obtém ou define o cabeçalho HTTP |
| Connection |
Obtém ou define o cabeçalho HTTP |
| ContentDisposition |
Obtém ou define o cabeçalho HTTP |
| ContentEncoding |
Obtém ou define o cabeçalho HTTP |
| ContentLanguage |
Obtém ou define o cabeçalho HTTP |
| ContentLength |
Acesso fortemente tipado ao cabeçalho Content-Length. As implementações devem manter isso em sincronia com a representação de cadeia de caracteres. |
| ContentLocation |
Obtém ou define o cabeçalho HTTP |
| ContentMD5 |
Obtém ou define o cabeçalho HTTP |
| ContentRange |
Obtém ou define o cabeçalho HTTP |
| ContentSecurityPolicy |
Obtém ou define o cabeçalho HTTP |
| ContentSecurityPolicyReportOnly |
Obtém ou define o cabeçalho HTTP |
| ContentType |
Obtém ou define o cabeçalho HTTP |
| Cookie |
Obtém ou define o cabeçalho HTTP |
| CorrelationContext |
Obtém ou define o cabeçalho HTTP |
| Date |
Obtém ou define o cabeçalho HTTP |
| ETag |
Obtém ou define o cabeçalho HTTP |
| Expect |
Obtém ou define o cabeçalho HTTP |
| Expires |
Obtém ou define o cabeçalho HTTP |
| From |
Obtém ou define o cabeçalho HTTP |
| GrpcAcceptEncoding |
Obtém ou define o cabeçalho HTTP |
| GrpcEncoding |
Obtém ou define o cabeçalho HTTP |
| GrpcMessage |
Obtém ou define o cabeçalho HTTP |
| GrpcStatus |
Obtém ou define o cabeçalho HTTP |
| GrpcTimeout |
Obtém ou define o cabeçalho HTTP |
| Host |
Obtém ou define o cabeçalho HTTP |
| IfMatch |
Obtém ou define o cabeçalho HTTP |
| IfModifiedSince |
Obtém ou define o cabeçalho HTTP |
| IfNoneMatch |
Obtém ou define o cabeçalho HTTP |
| IfRange |
Obtém ou define o cabeçalho HTTP |
| IfUnmodifiedSince |
Obtém ou define o cabeçalho HTTP |
| Item[String] |
IHeaderDictionary tem um contrato de indexador diferente do IDictionary, em que retornará StringValues.Empty para entradas ausentes. |
| KeepAlive |
Obtém ou define o cabeçalho HTTP |
| LastModified |
Obtém ou define o cabeçalho HTTP |
| Link |
Obtém ou define o cabeçalho HTTP |
| Location |
Obtém ou define o cabeçalho HTTP |
| MaxForwards |
Obtém ou define o cabeçalho HTTP |
| Origin |
Obtém ou define o cabeçalho HTTP |
| Pragma |
Obtém ou define o cabeçalho HTTP |
| ProxyAuthenticate |
Obtém ou define o cabeçalho HTTP |
| ProxyAuthorization |
Obtém ou define o cabeçalho HTTP |
| ProxyConnection |
Obtém ou define o cabeçalho HTTP |
| Range |
Obtém ou define o cabeçalho HTTP |
| Referer |
Obtém ou define o cabeçalho HTTP |
| RequestId |
Obtém ou define o cabeçalho HTTP |
| RetryAfter |
Obtém ou define o cabeçalho HTTP |
| SecWebSocketAccept |
Obtém ou define o cabeçalho HTTP |
| SecWebSocketExtensions |
Obtém ou define o cabeçalho HTTP |
| SecWebSocketKey |
Obtém ou define o cabeçalho HTTP |
| SecWebSocketProtocol |
Obtém ou define o cabeçalho HTTP |
| SecWebSocketVersion |
Obtém ou define o cabeçalho HTTP |
| Server |
Obtém ou define o cabeçalho HTTP |
| SetCookie |
Obtém ou define o cabeçalho HTTP |
| StrictTransportSecurity |
Obtém ou define o cabeçalho HTTP |
| TE |
Obtém ou define o cabeçalho HTTP |
| TraceParent |
Obtém ou define o cabeçalho HTTP |
| TraceState |
Obtém ou define o cabeçalho HTTP |
| Trailer |
Obtém ou define o cabeçalho HTTP |
| TransferEncoding |
Obtém ou define o cabeçalho HTTP |
| Translate |
Obtém ou define o cabeçalho HTTP |
| Upgrade |
Obtém ou define o cabeçalho HTTP |
| UpgradeInsecureRequests |
Obtém ou define o cabeçalho HTTP |
| UserAgent |
Obtém ou define o cabeçalho HTTP |
| Vary |
Obtém ou define o cabeçalho HTTP |
| Via |
Obtém ou define o cabeçalho HTTP |
| Warning |
Obtém ou define o cabeçalho HTTP |
| WebSocketSubProtocols |
Obtém ou define o cabeçalho HTTP |
| WWWAuthenticate |
Obtém ou define o cabeçalho HTTP |
| XContentTypeOptions |
Obtém ou define o cabeçalho HTTP |
| XFrameOptions |
Obtém ou define o cabeçalho HTTP |
| XPoweredBy |
Obtém ou define o cabeçalho HTTP |
| XRequestedWith |
Obtém ou define o cabeçalho HTTP |
| XUACompatible |
Obtém ou define o cabeçalho HTTP |
| XXSSProtection |
Obtém ou define o cabeçalho HTTP |
Métodos de Extensão
| Append(IHeaderDictionary, String, StringValues) |
Adiciona novos valores. Cada item permanece como uma entrada da matriz separada. |
| AppendCommaSeparatedValues(IHeaderDictionary, String, String[]) |
Cita todos os valores que contêm vírgulas e, em seguida, a vírgula une todos os valores com quaisquer valores existentes. |
| GetCommaSeparatedValues(IHeaderDictionary, String) |
Obtém os valores associados da coleção separados em valores individuais. Os valores entre aspas não serão divididos, e as aspas serão removidas. |
| SetCommaSeparatedValues(IHeaderDictionary, String, String[]) |
Cita todos os valores que contêm vírgulas e, em seguida, a vírgula une todos os valores. |
| AppendList<T>(IHeaderDictionary, String, IList<T>) |
Acrescenta uma sequência de valores a IHeaderDictionary. |