Share via


SimpleHttpProvider Class

Definition

An IHttpProvider implementation using standard .NET libraries.

public class SimpleHttpProvider : IDisposable, Microsoft.Graph.IHttpProvider
type SimpleHttpProvider = class
    interface IHttpProvider
    interface IDisposable
Public Class SimpleHttpProvider
Implements IDisposable, IHttpProvider
Inheritance
SimpleHttpProvider
Implements

Constructors

SimpleHttpProvider(HttpClient, ISerializer)

Constructs a new SimpleHttpProvider.

Properties

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.

Applies to