1 write to Headers
System (1)
net\System\Net\HttpListenerResponse.cs (1)
508
List<GCHandle> pinnedHeaders = SerializeHeaders(ref m_NativeResponse.
Headers
, isWebSocketHandshake);
8 references to Headers
System (8)
net\System\Net\HttpListener.cs (8)
2343
(&httpResponse.
Headers
.KnownHeaders)[(int)HttpResponseHeader.ContentLength].pRawValue = (sbyte*)pContentLength;
2344
(&httpResponse.
Headers
.KnownHeaders)[(int)HttpResponseHeader.ContentLength].RawValueLength = (ushort)byteContentLength.Length;
2346
httpResponse.
Headers
.UnknownHeaderCount = checked((ushort) (challenges == null ? 0 : challenges.Count));
2351
if (httpResponse.
Headers
.UnknownHeaderCount > 0)
2353
challengeHandles = new GCHandle[httpResponse.
Headers
.UnknownHeaderCount];
2354
headersArray = new UnsafeNclNativeMethods.HttpApi.HTTP_UNKNOWN_HEADER[httpResponse.
Headers
.UnknownHeaderCount];
2359
if (httpResponse.
Headers
.UnknownHeaderCount > 0)
2362
httpResponse.
Headers
.pUnknownHeaders = (UnsafeNclNativeMethods.HttpApi.HTTP_UNKNOWN_HEADER*) Marshal.UnsafeAddrOfPinnedArrayElement(headersArray, 0);