HttpProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IHttpProvider implementation using standard .NET libraries.
public class HttpProvider : IDisposable, Microsoft.Graph.IHttpProvider
type HttpProvider = class
interface IHttpProvider
interface IDisposable
Public Class HttpProvider
Implements IDisposable, IHttpProvider
- Inheritance
-
HttpProvider
- Implements
Constructors
HttpProvider(HttpClientHandler, Boolean, ISerializer) |
Constructs a new HttpProvider. |
HttpProvider(HttpMessageHandler, Boolean, ISerializer) |
Constructs a new HttpProvider. |
HttpProvider(ISerializer) |
Constructs a new HttpProvider. |
Properties
CacheControlHeader |
Gets or sets the cache control header for requests; |
OverallTimeout |
Gets or sets the overall request timeout. |
Serializer |
Gets a serializer for serializing and deserializing JSON objects. |
Methods
Dispose() |
Disposes the HttpClient and HttpClientHandler instances. |
SendAsync(HttpRequestMessage, HttpCompletionOption, CancellationToken) |
Sends the request. |
SendAsync(HttpRequestMessage) |
Sends the request. |