MemoryBuilder.WithHttpClient(HttpClient) Method

Definition

Add an HttpClient.

public Microsoft.SemanticKernel.Memory.MemoryBuilder WithHttpClient (System.Net.Http.HttpClient httpClient);
member this.WithHttpClient : System.Net.Http.HttpClient -> Microsoft.SemanticKernel.Memory.MemoryBuilder
Public Function WithHttpClient (httpClient As HttpClient) As MemoryBuilder

Parameters

httpClient
HttpClient

HttpClient to add.

Returns

Updated Memory builder including the client.

Applies to