Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</Base>
<Interfaces />
<Docs>
<summary>To be added.</summary>
<summary>Handles logging of the lifecycle for an HTTP request.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
Expand All @@ -44,9 +44,11 @@
<Parameter Name="logger" Type="Microsoft.Extensions.Logging.ILogger" />
</Parameters>
<Docs>
<param name="logger">To be added.</param>
<summary>To be added.</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> to log to.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler" /> class with a specified logger.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="logger" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
Expand All @@ -67,10 +69,12 @@
<Parameter Name="options" Type="Microsoft.Extensions.Http.HttpClientFactoryOptions" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0;dotnet-plat-ext-6.0" />
</Parameters>
<Docs>
<param name="logger">To be added.</param>
<param name="options">To be added.</param>
<summary>To be added.</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> to log to.</param>
<param name="options">The <see cref="T:Microsoft.Extensions.Http.HttpClientFactoryOptions" /> used to configure the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler" /> instance.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler" /> class with a specified logger and options.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="logger" /> or <paramref name="options" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="SendAsync">
Expand Down Expand Up @@ -108,7 +112,16 @@
<param name="cancellationToken">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

Logs the request and response from the sent <xref:System.Net.Http.HttpRequestMessage>.

]]></format>
</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</Base>
<Interfaces />
<Docs>
<summary>To be added.</summary>
<summary>Handles logging of the lifecycle for an HTTP request within a log scope.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
Expand All @@ -44,9 +44,11 @@
<Parameter Name="logger" Type="Microsoft.Extensions.Logging.ILogger" />
</Parameters>
<Docs>
<param name="logger">To be added.</param>
<summary>To be added.</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> to log to.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler" /> class with a specified logger.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="logger" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
Expand All @@ -67,10 +69,12 @@
<Parameter Name="options" Type="Microsoft.Extensions.Http.HttpClientFactoryOptions" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0;dotnet-plat-ext-6.0" />
</Parameters>
<Docs>
<param name="logger">To be added.</param>
<param name="options">To be added.</param>
<summary>To be added.</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> to log to.</param>
<param name="options">The <see cref="T:Microsoft.Extensions.Http.HttpClientFactoryOptions" /> used to configure the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler" /> instance.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler" /> class with a specified logger and options.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="logger" /> or <paramref name="options" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="SendAsync">
Expand Down Expand Up @@ -108,7 +112,16 @@
<param name="cancellationToken">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

Logs the request and response from the sent <xref:System.Net.Http.HttpRequestMessage>.

]]></format>
</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
Expand Down
17 changes: 13 additions & 4 deletions xml/Microsoft.Extensions.Http/HttpMessageHandlerBuilder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,20 @@
<Parameter Name="additionalHandlers" Type="System.Collections.Generic.IEnumerable&lt;System.Net.Http.DelegatingHandler&gt;" />
</Parameters>
<Docs>
<param name="primaryHandler">To be added.</param>
<param name="additionalHandlers">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<param name="primaryHandler">An instance of <see cref="T:System.Net.Http.HttpMessageHandler" /> to operate at the bottom of the handler chain and actually handle the HTTP transport operations.</param>
<param name="additionalHandlers">An ordered list of <see cref="T:System.Net.Http.DelegatingHandler" /> instances to be invoked as part of sending an <see cref="T:System.Net.Http.HttpRequestMessage" /> and receiving an <see cref="T:System.Net.Http.HttpResponseMessage" />.
The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for an outbound request message but last for an inbound response message.</param>
<summary>Constructs an instance of <see cref="T:System.Net.Http.HttpMessageHandler" /> by chaining <paramref name="additionalHandlers" /> one after another with <paramref name="primaryHandler" /> in the end of the chain. The resulting pipeline is used by <see cref="T:System.Net.Http.IHttpClientFactory" /> infrastructure to create <see cref="T:System.Net.Http.HttpClient" /> instances with customized message handlers. The resulting pipeline can also be accessed by using <see cref="T:System.Net.Http.IHttpMessageHandlerFactory" /> instead of <see cref="T:System.Net.Http.IHttpClientFactory" />.</summary>
<returns>The HTTP message handler chain.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="primaryHandler " /> or <paramref name="additionalHandlers " /> is <see langword="null" />.</exception>
<exception cref="T:System.InvalidOperationException">
<paramref name="additionalHandlers " /> contains a <see langword="null" /> entry.

-or-

<c>DelegatingHandler.InnerHandler</c> is not <see langword="null" />. <c>DelegatingHandler</c> instances provided to <c>HttpMessageHandlerBuilder</c> must not be reused or cached.</exception>
</Docs>
</Member>
<Member MemberName="Name">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<Docs>
<param name="next">A delegate which will run the next <see cref="T:Microsoft.Extensions.Http.IHttpMessageHandlerBuilderFilter" />.</param>
<summary>Applies additional initialization to the <see cref="T:Microsoft.Extensions.Http.HttpMessageHandlerBuilder" />.</summary>
<returns>To be added.</returns>
<returns>The configured <see cref="T:Microsoft.Extensions.Http.HttpMessageHandlerBuilder" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down