←Select platform

HttpClient Property

Summary

The .NET HTTP client object to use when streaming data from a URI in LEADTOOLS.

Syntax
C#
Python
public static HttpClient HttpClient { get; } 
HttpClient  # get (HttpClientLeadStream) 

Property Value

The .NET System.Net.Http.HttpClient object to use when streaming data from a URI in LEADTOOLS.

Remarks

HttpClientLeadStream uses .NET System.Net.HttpClient to open a stream to the URI. The object is created internally automatically and then is by the Open method.

The HttpClient object can be accessed through the HttpClient static property to modify or customize its options.

Refer to RasterCodecs Async Operations for more information and examples.

Requirements

For .NET Framework: A reference to the Leadtools.Async.dll assembly is required to use this functionality.

For .NET Standard: This functionality is included in the Leadtools.dll assembly.

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.