-
Notifications
You must be signed in to change notification settings - Fork 111
/
ClientHandler.xml
156 lines (156 loc) · 11.4 KB
/
ClientHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<Type Name="ClientHandler" FullName="Microsoft.AspNetCore.TestHost.ClientHandler">
<TypeSignature Language="C++ CLI" Value="public ref class ClientHandler : System::Net::Http::HttpMessageHandler" />
<TypeSignature Language="C#" Value="public class ClientHandler : System.Net.Http.HttpMessageHandler" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ClientHandler extends System.Net.Http.HttpMessageHandler" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.TestHost.ClientHandler" />
<TypeSignature Language="VB.NET" Value="Public Class ClientHandler
Inherits HttpMessageHandler" />
<TypeSignature Language="F#" Value="type ClientHandler = class
 inherit HttpMessageHandler" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.TestHost</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.12.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.3.0</AssemblyVersion>
<AssemblyVersion>5.0.9.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.5.0</AssemblyVersion>
<AssemblyVersion>6.0.6.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.3.0</AssemblyVersion>
<AssemblyVersion>7.0.5.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Net.Http.HttpMessageHandler</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
This adapts HttpRequestMessages to ASP.NET Core requests, dispatches them through the pipeline, and returns the
associated HttpResponseMessage.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C++ CLI" Value="public:
 ClientHandler(Microsoft::AspNetCore::Http::PathString pathBase, Microsoft::AspNetCore::Hosting::Server::IHttpApplication<Microsoft::AspNetCore::Hosting::Internal::HostingApplication::Context> ^ application);" />
<MemberSignature Language="C#" Value="public ClientHandler (Microsoft.AspNetCore.Http.PathString pathBase, Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context> application);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Microsoft.AspNetCore.Http.PathString pathBase, class Microsoft.AspNetCore.Hosting.Server.IHttpApplication`1<valuetype Microsoft.AspNetCore.Hosting.Internal.HostingApplication/Context> application) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.TestHost.ClientHandler.#ctor(Microsoft.AspNetCore.Http.PathString,Microsoft.AspNetCore.Hosting.Server.IHttpApplication{Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context})" />
<MemberSignature Language="VB.NET" Value="Public Sub New (pathBase As PathString, application As IHttpApplication(Of HostingApplication.Context))" />
<MemberSignature Language="F#" Value="new Microsoft.AspNetCore.TestHost.ClientHandler : Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context> -> Microsoft.AspNetCore.TestHost.ClientHandler" Usage="new Microsoft.AspNetCore.TestHost.ClientHandler (pathBase, application)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.TestHost</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="pathBase" Type="Microsoft.AspNetCore.Http.PathString" Index="0" FrameworkAlternate="aspnetcore-1.0;aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2" />
<Parameter Name="application" Type="Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context>" Index="1" FrameworkAlternate="aspnetcore-1.0;aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2" />
</Parameters>
<Docs>
<param name="pathBase">The base path.</param>
<param name="application">The <see cref="T:Microsoft.AspNetCore.Hosting.Server.IHttpApplication`1" />.</param>
<summary>
Create a new handler.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Send">
<MemberSignature Language="C#" Value="protected override System.Net.Http.HttpResponseMessage Send (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Net.Http.HttpResponseMessage Send(class System.Net.Http.HttpRequestMessage request, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.TestHost.ClientHandler.Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function Send (request As HttpRequestMessage, cancellationToken As CancellationToken) As HttpResponseMessage" />
<MemberSignature Language="F#" Value="override this.Send : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Net.Http.HttpResponseMessage" Usage="clientHandler.Send (request, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.TestHost</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Net.Http.HttpResponseMessage</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="System.Net.Http.HttpRequestMessage" Index="0" FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="1" FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0" />
</Parameters>
<Docs>
<param name="request">The <see cref="T:System.Net.Http.HttpRequestMessage" />.</param>
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" />.</param>
<summary>
This synchronous method is not supported due to the risk of threadpool exhaustion when running multiple tests in parallel.
</summary>
<returns>To be added.</returns>
<remarks>
Use the asynchronous version of this method, <see cref="M:Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" />, instead.
</remarks>
<exception cref="T:System.NotSupportedException">Thrown unconditionally.</exception>
</Docs>
</Member>
<Member MemberName="SendAsync">
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ SendAsync(System::Net::Http::HttpRequestMessage ^ request, System::Threading::CancellationToken cancellationToken);" />
<MemberSignature Language="C#" Value="protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Threading.Tasks.Task`1<class System.Net.Http.HttpResponseMessage> SendAsync(class System.Net.Http.HttpRequestMessage request, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function SendAsync (request As HttpRequestMessage, cancellationToken As CancellationToken) As Task(Of HttpResponseMessage)" />
<MemberSignature Language="F#" Value="override this.SendAsync : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>" Usage="clientHandler.SendAsync (request, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.TestHost</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.9.0</AssemblyVersion>
<AssemblyVersion>6.0.6.0</AssemblyVersion>
<AssemblyVersion>7.0.5.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="System.Net.Http.HttpRequestMessage" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="request">The <see cref="T:System.Net.Http.HttpRequestMessage" />.</param>
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" />.</param>
<summary>
This adapts HttpRequestMessages to ASP.NET Core requests, dispatches them through the pipeline, and returns the
associated HttpResponseMessage.
</summary>
<returns>A <see cref="T:System.Threading.Tasks.Task`1" /> returning the <see cref="T:System.Net.Http.HttpResponseMessage" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>