Class ResponseReceivedEarlyHintsEventArgs
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
public sealed record ResponseReceivedEarlyHintsEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<ResponseReceivedEarlyHintsEventArgs>
- Inheritance
-
EventArgsResponseReceivedEarlyHintsEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
ResponseReceivedEarlyHintsEventArgs(RequestId, IReadOnlyDictionary<string, string>)
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
public ResponseReceivedEarlyHintsEventArgs(RequestId RequestId, IReadOnlyDictionary<string, string> Headers)
Parameters
RequestIdRequestIdRequest identifier. Used to match this information to another responseReceived event.
HeadersIReadOnlyDictionary<string, string>Raw response headers as they were received over the wire. Duplicate headers in the response are represented as a single key with their values concatentated using \n as the separator. See also headersText that contains verbatim text for HTTP/1.*.
Properties
Headers
Raw response headers as they were received over the wire. Duplicate headers in the response are represented as a single key with their values concatentated using \n as the separator. See also headersText that contains verbatim text for HTTP/1.*.
public IReadOnlyDictionary<string, string> Headers { get; init; }
Property Value
RequestId
Request identifier. Used to match this information to another responseReceived event.
public RequestId RequestId { get; init; }