// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
namespace Microsoft.Graph
{
using System.Collections.Generic;
using System.Net.Http;
///
/// The base request interface.
///
public interface IBaseRequest
{
///
/// Gets or sets the content type for the request.
///
string ContentType { get; set; }
///
/// Gets the collection for the request.
///
IList Headers { get; }
///
/// Gets the for handling requests.
///
IBaseClient Client { get; }
///
/// Gets or sets the HTTP method string for the request.
///
string Method { get; }
///
/// Gets the URL for the request, without query string.
///
string RequestUrl { get; }
///
/// Gets the collection for the request.
///
IList QueryOptions { get; }
///
/// Gets the collection for the request.
///
IDictionary MiddlewareOptions { get; }
///
/// Gets the representation of the request.
///
/// The representation of the request.
HttpRequestMessage GetHttpRequestMessage();
}
}