218 references to HttpApi
System (218)
net\System\Net\_AuthenticationManagerBase.cs (1)
80
if (UnsafeNclNativeMethods.
HttpApi
.ExtendedProtectionSupported)
net\System\Net\_ListenerAsyncResult.cs (2)
125
statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpReceiveHttpRequest(
128
(uint) UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY,
net\System\Net\_ListenerRequestStream.cs (7)
126
dataRead = UnsafeNclNativeMethods.
HttpApi
.GetChunks(m_HttpContext.Request.RequestBuffer, m_HttpContext.Request.OriginalBlobAddress, ref m_DataChunkIndex, ref m_DataChunkOffset, buffer, offset, size);
149
flags = (uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY;
153
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveRequestEntityBody(
211
dataRead = UnsafeNclNativeMethods.
HttpApi
.GetChunks(m_HttpContext.Request.RequestBuffer, m_HttpContext.Request.OriginalBlobAddress, ref m_DataChunkIndex, ref m_DataChunkOffset, buffer, offset, size);
242
flags = (uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY;
246
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveRequestEntityBody(
358
return UnsafeNclNativeMethods.
HttpApi
.GetChunks(m_HttpContext.Request.RequestBuffer,
net\System\Net\_ListenerResponseStream.cs (36)
29
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS ComputeLeftToWrite() {
31
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE;
36
UnsafeNclNativeMethods.
HttpApi
.HTTP_VERB method = m_HttpContext.GetKnownMethod();
37
m_LeftToWrite = method != UnsafeNclNativeMethods.
HttpApi
.HTTP_VERB.HttpVerbHEAD ? m_HttpContext.Response.ContentLength64 : 0;
139
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = ComputeLeftToWrite();
179
UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK dataChunk = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
180
dataChunk.DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
184
flags |= m_LeftToWrite == size ? UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE : UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA;
192
UnsafeNclNativeMethods.
HttpApi
.HttpSendResponseEntityBody(
245
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = ComputeLeftToWrite();
258
flags |= m_LeftToWrite==size ? UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE : UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA;
274
UnsafeNclNativeMethods.
HttpApi
.HttpSendResponseEntityBody(
318
if ((flags & UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA) == 0)
386
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = ComputeLeftToWrite();
399
flags |= UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_DISCONNECT;
403
UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK* pDataChunk = null;
405
UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK dataChunk = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
406
dataChunk.DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
418
UnsafeNclNativeMethods.
HttpApi
.HttpSendResponseEntityBody(
481
private UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK[] m_DataChunks;
497
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK* pDataChunks {
503
return (UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK*)(Marshal.UnsafeAddrOfPinnedArrayElement(m_DataChunks, 0));
522
m_DataChunks = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK[chunked ? 3 : 1];
535
m_DataChunks[0] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
536
m_DataChunks[0].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
541
m_DataChunks[1] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
542
m_DataChunks[1].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
547
m_DataChunks[2] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
548
m_DataChunks[2].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
555
m_DataChunks[0] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
556
m_DataChunks[0].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
net\System\Net\_SafeNetHandles.cs (1)
385
return (UnsafeNclNativeMethods.
HttpApi
.HttpCloseServerSession(serverSessionId) ==
net\System\Net\HttpListener.cs (60)
46
private UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* m_MemoryBlob;
47
private UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* m_OriginalBlobAddress;
51
protected void BaseConstruction(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* requestBlob)
93
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* RequestBlob
122
UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* blob = m_MemoryBlob;
127
protected void SetBlob(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* requestBlob)
169
private UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* Allocate(uint size)
184
return (UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST*) Marshal.UnsafeAddrOfPinnedArrayElement(RequestBuffer, 0);
236
private UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST* Allocate(int size)
252
return (UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST*) Marshal.UnsafeAddrOfPinnedArrayElement(RequestBuffer, 0);
284
private static readonly Type ChannelBindingStatusType = typeof(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_CHANNEL_BIND_STATUS);
286
Marshal.SizeOf(typeof(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_CHANNEL_BIND_STATUS));
367
if (!UnsafeNclNativeMethods.
HttpApi
.Supported) {
371
Debug.Assert(UnsafeNclNativeMethods.
HttpApi
.ApiVersion ==
372
UnsafeNclNativeMethods.
HttpApi
.HTTP_API_VERSION.Version20, "Invalid Http api version");
501
private void SetUrlGroupProperty(UnsafeNclNativeMethods.
HttpApi
.HTTP_SERVER_PROPERTY property, IntPtr info, uint infosize) {
510
statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpSetUrlGroupProperty(
524
UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_LIMIT_INFO timeoutinfo =
525
new UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_LIMIT_INFO();
527
timeoutinfo.Flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_PROPERTY_FLAG_PRESENT;
529
(ushort)timeouts[(int)UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.DrainEntityBody];
531
(ushort)timeouts[(int)UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.EntityBody];
533
(ushort)timeouts[(int)UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.RequestQueue];
535
(ushort)timeouts[(int)UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.IdleConnection];
537
(ushort)timeouts[(int)UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.HeaderWait];
543
UnsafeNclNativeMethods.
HttpApi
.HTTP_SERVER_PROPERTY.HttpServerTimeoutsProperty,
544
infoptr, (uint)Marshal.SizeOf(typeof(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_LIMIT_INFO)));
557
return UnsafeNclNativeMethods.
HttpApi
.Supported;
797
statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpCreateServerSession(
798
UnsafeNclNativeMethods.
HttpApi
.Version, &id, 0);
809
statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpCreateUrlGroup(
904
uint statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpCloseUrlGroup(m_UrlGroupId);
922
UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO info = new UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO();
923
info.Flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_PROPERTY_FLAG_PRESENT;
928
SetUrlGroupProperty(UnsafeNclNativeMethods.
HttpApi
.HTTP_SERVER_PROPERTY.HttpServerBindingProperty,
929
infoptr, (uint)Marshal.SizeOf(typeof(UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO)));
942
UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO info = new UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO();
943
info.Flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE;
948
uint statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpSetUrlGroupProperty(m_UrlGroupId,
949
UnsafeNclNativeMethods.
HttpApi
.HTTP_SERVER_PROPERTY.HttpServerBindingProperty,
950
infoptr, (uint)Marshal.SizeOf(typeof(UnsafeNclNativeMethods.
HttpApi
.HTTP_BINDING_INFO)));
993
UnsafeNclNativeMethods.
HttpApi
.Version, null, null, 0, out requestQueueHandle);
1099
UnsafeNclNativeMethods.
HttpApi
.HttpAddUrlToUrlGroup(
1112
UnsafeNclNativeMethods.
HttpApi
.HttpRemoveUrlFromUrlGroup(
1163
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveHttpRequest(
1166
(uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY,
1334
string verb = UnsafeNclNativeMethods.
HttpApi
.GetVerb(memoryBlob.RequestBlob);
1335
string authorizationHeader = UnsafeNclNativeMethods.
HttpApi
.GetKnownHeader(memoryBlob.RequestBlob, (int) HttpRequestHeader.Authorization);
2294
uint statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpWaitForDisconnect(
2326
UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE httpResponse = new UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE();
2327
httpResponse.Version = new UnsafeNclNativeMethods.
HttpApi
.HTTP_VERSION();
2348
UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER[] headersArray = null;
2354
headersArray = new UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER[httpResponse.Headers.UnknownHeaderCount];
2362
httpResponse.Headers.pUnknownHeaders = (UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER*) Marshal.UnsafeAddrOfPinnedArrayElement(headersArray, 0);
2379
UnsafeNclNativeMethods.
HttpApi
.HttpSendHttpResponse(
2462
statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpReceiveClientCertificate(
2465
(uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_RECEIVE_SECURE_CHANNEL_TOKEN,
net\System\Net\HttpListenerContext.cs (4)
236
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_VERB GetKnownMethod() {
238
return UnsafeNclNativeMethods.
HttpApi
.GetKnownVerb(Request.RequestBuffer, Request.OriginalBlobAddress);
246
uint statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpCancelHttpRequest(requestQueueHandle, requestId,
253
uint statusCode = UnsafeNclNativeMethods.
HttpApi
.HttpCancelHttpRequest(requestQueueHandle, requestId,
net\System\Net\HttpListenerRequest.cs (41)
39
private UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* m_MemoryBlob;
50
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* RequestBlob
87
m_MemoryBlob = (UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO*) Marshal.UnsafeAddrOfPinnedArrayElement(m_BackingBuffer, 0);
106
UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* pClientCertInfo = asyncResult.RequestBlob;
111
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveClientCertificate(
114
(uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE,
132
UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* pClientCertInfo = asyncResult.m_MemoryBlob;
268
UnsafeNclNativeMethods.
HttpApi
.HTTP_COOKED_URL cookedUrl = memoryBlob.RequestBlob->CookedUrl;
425
m_WebHeaders = UnsafeNclNativeMethods.
HttpApi
.GetHeaders(RequestBuffer, OriginalBlobAddress);
435
m_HttpMethod = UnsafeNclNativeMethods.
HttpApi
.GetVerb(RequestBuffer, OriginalBlobAddress);
753
m_RemoteEndPoint = UnsafeNclNativeMethods.
HttpApi
.GetRemoteEndPoint(RequestBuffer, OriginalBlobAddress);
763
m_LocalEndPoint = UnsafeNclNativeMethods.
HttpApi
.GetLocalEndPoint(RequestBuffer, OriginalBlobAddress);
835
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveClientCertificate(
838
(uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE,
847
UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* pClientCertInfo = asyncResult.RequestBlob;
927
UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO* pClientCertInfo = (UnsafeNclNativeMethods.
HttpApi
.HTTP_SSL_CLIENT_CERT_INFO*) pClientCertInfoBlob;
933
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveClientCertificate(
936
(uint)UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE,
1013
return UnsafeNclNativeMethods.
HttpApi
.GetKnownHeader(RequestBuffer, OriginalBlobAddress, (int) header);
1068
UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_TOKEN_BINDING_INFO* pTokenBindingInfo = UnsafeNclNativeMethods.
HttpApi
.GetTlsTokenBindingRequestInfo(RequestBuffer, OriginalBlobAddress);
1069
UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_TOKEN_BINDING_INFO_V1* pTokenBindingInfo_V1 = null;
1075
pTokenBindingInfo_V1 = UnsafeNclNativeMethods.
HttpApi
.GetTlsTokenBindingRequestInfo_V1(RequestBuffer, OriginalBlobAddress);
1086
UnsafeNclNativeMethods.
HttpApi
.HeapAllocHandle handle = null;
1090
UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_V2* request = (UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_V2*)pMemoryBlob;
1096
m_TokenBindingVerifyMessageStatus = UnsafeNclNativeMethods.
HttpApi
.TokenBindingVerifyMessage_V1(
1108
UnsafeNclNativeMethods.
HttpApi
.TokenBindingVerifyMessage(
1144
private void GenerateTokenBindings(UnsafeNclNativeMethods.
HttpApi
.HeapAllocHandle handle)
1146
UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_LIST* pResultList = (UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_LIST*)handle.DangerousGetHandle();
1149
UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_DATA* pThisResultData = &pResultList->resultData[i];
1156
if (pThisResultData->bindingType == UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_TYPE.TOKENBINDING_TYPE_PROVIDED)
1160
else if (pThisResultData->bindingType == UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_TYPE.TOKENBINDING_TYPE_REFERRED)
1172
private void GenerateTokenBindings_V1(UnsafeNclNativeMethods.
HttpApi
.HeapAllocHandle handle)
1174
UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_LIST_V1* pResultList = (UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_LIST_V1*)handle.DangerousGetHandle();
1177
UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_RESULT_DATA_V1* pThisResultData = &pResultList->resultData[i];
1189
if (pThisResultData->identifierData->bindingType == UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_TYPE.TOKENBINDING_TYPE_PROVIDED)
1193
else if (pThisResultData->identifierData->bindingType == UnsafeNclNativeMethods.
HttpApi
.TOKENBINDING_TYPE.TOKENBINDING_TYPE_REFERRED)
net\System\Net\HttpListenerResponse.cs (23)
37
private UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE m_NativeResponse;
43
m_NativeResponse = new UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE();
182
m_NativeResponse = new UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE();
474
internal unsafe uint SendHeaders(UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK* pDataChunk,
476
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags,
529
fixed (UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE* pResponse = &m_NativeResponse) {
535
UnsafeNclNativeMethods.
HttpApi
.HttpSendHttpResponse(
558
fixed (UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE* pResponse = &m_NativeResponse) {
564
UnsafeNclNativeMethods.
HttpApi
.HttpSendHttpResponse(
633
internal UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS ComputeHeaders() {
634
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE;
669
flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE;
676
flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE; // seems like HTTP_SEND_RESPONSE_FLAG_MORE_DATA but this hangs the app;
683
if (flags==UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE) {
684
flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_DISCONNECT;
707
private List<GCHandle> SerializeHeaders(ref UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADERS headers,
709
UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER[] unknownHeaders = null;
769
lookup = UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.IndexOfKnownHeader(headerName);
786
fixed (UnsafeNclNativeMethods.
HttpApi
.HTTP_KNOWN_HEADER* pKnownHeaders = &headers.KnownHeaders) {
790
lookup = UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.IndexOfKnownHeader(headerName);
805
unknownHeaders = new UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER[numUnknownHeaders];
808
headers.pUnknownHeaders = (UnsafeNclNativeMethods.
HttpApi
.HTTP_UNKNOWN_HEADER*)gcHandle.AddrOfPinnedObject();
net\System\Net\HttpListenerTimeoutManager.cs (12)
65
private TimeSpan GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE type)
73
private void SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE type, TimeSpan value)
114
return GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.EntityBody);
118
SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.EntityBody, value);
135
return GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.DrainEntityBody);
139
SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.DrainEntityBody, value);
151
return GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.RequestQueue);
155
SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.RequestQueue, value);
168
return GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.IdleConnection);
172
SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.IdleConnection, value);
186
return GetTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.HeaderWait);
190
SetTimespanTimeout(UnsafeNclNativeMethods.
HttpApi
.HTTP_TIMEOUT_TYPE.HeaderWait, value);
net\System\Net\UnsafeNativeMethods.cs (4)
654
internal static extern unsafe uint HttpCreateRequestQueue(
HttpApi
.HTTPAPI_VERSION version, string pName,
2946
statusCode =
HttpApi
.HttpInitialize(version, (uint)HTTP_FLAGS.HTTP_INITIALIZE_SERVER, null);
2949
statusCode =
HttpApi
.HttpInitialize(version,
2958
statusCode =
HttpApi
.HttpInitialize(version, (uint)HTTP_FLAGS.HTTP_INITIALIZE_SERVER, null);
net\System\Net\WebHeaderCollection.cs (11)
273
return this[UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_HEADER_ID.ToString((int)header)];
279
this[UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_HEADER_ID.ToString((int)header)] = value;
301
return this[UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header)];
312
this[UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header)] = value;
320
this.Add(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_HEADER_ID.ToString((int)header), value);
332
this.Add(UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header), value);
339
this.Set(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_HEADER_ID.ToString((int)header), value);
351
this.Set(UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header), value);
364
this.SetInternal(UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header), value);
372
this.Remove(UnsafeNclNativeMethods.
HttpApi
.HTTP_REQUEST_HEADER_ID.ToString((int)header));
379
this.Remove(UnsafeNclNativeMethods.
HttpApi
.HTTP_RESPONSE_HEADER_ID.ToString((int)header));
net\System\Net\WebSockets\WebSocketHelpers.cs (3)
310
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_OPAQUE |
311
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA |
312
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA,
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (13)
269
UnsafeNclNativeMethods.
HttpApi
.HttpReceiveRequestEntityBody2(
493
UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS flags = UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.NONE;
511
flags |= UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_DISCONNECT;
515
flags |= UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA;
519
flags |= UnsafeNclNativeMethods.
HttpApi
.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA;
525
UnsafeNclNativeMethods.
HttpApi
.HttpSendResponseEntityBody2(
858
private UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK[] m_DataChunks;
1121
m_DataChunks = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK[2];
1123
m_DataChunks[0] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
1124
m_DataChunks[0].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;
1125
m_DataChunks[1] = new UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK();
1126
m_DataChunks[1].DataChunkType = UnsafeNclNativeMethods.
HttpApi
.HTTP_DATA_CHUNK_TYPE.HttpDataChunkFromMemory;